You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The resize event is attached to window and on scroll, the event.target is the map canvas in Chrome & Safari but resolves to the canvas' parent (mapper.DOM) in Firefox. This means the zoom function doesn't work because return
Any ideas why this is happening @geoffreyd ? should be a very easy fix but I'm stumped!
The text was updated successfully, but these errors were encountered:
@davekinkead is there a specific test page this is happening on? I've tried the code both before and after the fixes you put in, but my firefox is always returning the canvas element.
The resize event is attached to
window
and on scroll, theevent.target
is the map canvas in Chrome & Safari but resolves to the canvas' parent (mapper.DOM) in Firefox. This means the zoom function doesn't work becausereturn
Any ideas why this is happening @geoffreyd ? should be a very easy fix but I'm stumped!
The text was updated successfully, but these errors were encountered: