Select to view content in your preferred language

JSAPI 4.0 - Scroll Wheel Zoom In and Out Sticks into Pan Mode

1759
2
08-23-2016 08:54 AM
Drew
by
Frequent Contributor

Hello,

I am experience some basic navigation bugs with the 4.0 API. I have tested this in IE 11, FF (48.01) and Chrome (52.02..) and it behaves the same (when in 2D)

When I zoom in and out when my mouse scroll wheel, then pan, then zoom in and out again with the scroll wheel, there is a tendency for the mouse to get stuck in pan mode. I can duplicate this over and over again. It's a show stopper for me for even using the 4.0 API .

You can test this in the most simple sandbox sample:

ArcGIS API for JavaScript Sandbox 

Thanks,

Drew

Tags (2)
0 Kudos
2 Replies
Drew
by
Frequent Contributor

I thought I would just bring this issue back up with a better description on how to test...

To see the mouse get stuck in pan mode try the following..

  • Load the sandbox sample into a new browser (any browser)
  • Pan around quickly then zoom in and out like a maniac with your mouse scroll wheel
    • Do this over and over until you see the issue.

Drew

RobertScheitlin__GISP
MVP Emeritus

Andrew,

   It did not take mush scrolling for me to reproduce this issue. I can see it still exists in 4.1 of the API