Toggling slider/zoom

Discussion created by fraxinus on Apr 2, 2012
Latest reply on Apr 2, 2012 by fraxinus

I have a map with a navigation toolbar and a zoom slider. Now, I toggle a few things on each pan/zoom change (throbber and a few other graphics layer) as well as the zoom slider.

Now, what happens is that after the first time the user has clicked the "zoom in" icon and performed a rubber-band zoom, the slider doesn't work as it should. If the "zoom in" navigation is still active, any click on the slider are interpreted as zooming clicks (on that point) and not as slider zoom/navigation.

Seems like the z-order or something has gotten confused. If I don't hide/show the slider, then it works ok, but I haven't been able to isolate the bug really.

Any tips?