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
Looking into the history of the changes to navigation_control.js this change might have broken things #8023
The change uses the classlist object ( https://developer.mozilla.org/en-US/docs/Web/API/Element/classList ) and uses the toggle function which is supported in IE since v10. But IE doesn't support the 2 argument version of the function the above PR uses. This results in the button switching state rather than updating to the correct state.
Link to Demonstration
see share URL above
Expected Behavior
zoom control buttons should be greyed out if the zoom is either at max/min
Actual Behavior
currently zoom control buttons can be greyed out at any zoom level and flicker as zoom level changes
mapbox-gl-js version: v54.0
browser: IE11
Steps to Trigger Behavior
@vallendm noted:
Link to Demonstration
see share URL above
Expected Behavior
zoom control buttons should be greyed out if the zoom is either at max/min
Actual Behavior
currently zoom control buttons can be greyed out at any zoom level and flicker as zoom level changes
cc @asheemmamoowala
The text was updated successfully, but these errors were encountered: