Hi Thinkgeo and community,
We’ve noticed within the past few months and following some Chrome updates that we have been getting consistent zooming in and zooming out client side errors. The client side error is “[Intervention] Unable to preventDefault inside passive event listener due to target being treated as passive. See https://www.chromestatus.com/features/6662647093133312” and the source of the error is reported at “preventDefault @ opl_GeoResource.axd?v=10.3.0:144”. It looks like OpenLayers code is now being treated as passive and is not stopping window event listeners.
In addition, we have noted this issue even with our basic test project were we add a bing map overlay and shapefilefeaturelayers to our map. In our main project this wouldn’t be a big deal if we didn’t have to content below our map; however, this is causing an annoying zooming/scrolling problem since we load in data after the matter below our map. Notice in the demo how the map moves up/down on the page based on zooming in or out.
Are there any workarounds to get “preventDefault” method to not be treated as a passive target?