randolph249 / iscroll-js

Automatically exported from code.google.com/p/iscroll-js
MIT License
0 stars 0 forks source link

iscroll doesn't release the mouse when an alert box pops up #49

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. View your web page with a webkit desktop browser (e.g. Google Chrome).
2. Make your page open a javascript alert() box while dragging the iScroll area 
with a mouse.
3. Close the alert box.

What is the expected output? What do you see instead?

I expected iScroll to have released the mouse by the time the alert box closed, 
allowing me to use my page normally without affecting the iScroll area.  
Instead, the scroll area keeps jumping around as my mouse moves about the page, 
as if it's stuck to the mouse, even though the mouse is nowhere near the scroll 
area and the button is no longer held down.

What version of the product are you using? On what operating system?

iScroll 3.7.1

Please provide any additional information below.

Perhaps iScroll should be letting go when mouseout event is fired, to avoid 
this problem.

Original issue reported on code.google.com by foresto@gmail.com on 24 Feb 2011 at 8:45