Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.2-EE-GA
-
Fix Version/s: 1.8.3, 1.8.2-EE-GA_P02
-
Component/s: ICE-Components
-
Labels:None
-
Environment:IE7
Description
Using the component showcase and IE7, drag the panelPopup upwards towards the top of IE7 so that the cursor leaves the viewing area. Release the mouse and return back to the main page area and notice that the popup is now stuck to the cursor. You need to re-click the popup in order for this to stop.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Scriptaculous uses the mouse up event to detect the end of dragging. In IE, seems when you drag outside of the viewport, no mouse up event (or any mouse event?) is fired at all. The demo at the Scriptaculous website works the same. See video at http://screencast.com/t/MTRlMWNhOWUt.
In FF, it works as expected. See video at http://screencast.com/t/OTliN2VhMjAt. (In our component we have changed to make the panel snap back into the viewport.)
Show
yip.ng
added a comment - - edited Scriptaculous uses the mouse up event to detect the end of dragging. In IE, seems when you drag outside of the viewport, no mouse up event (or any mouse event?) is fired at all. The demo at the Scriptaculous website works the same. See video at http://screencast.com/t/MTRlMWNhOWUt .
In FF, it works as expected. See video at http://screencast.com/t/OTliN2VhMjAt . (In our component we have changed to make the panel snap back into the viewport.)
Mouse button state (up or down) seems to change randomly for positioned panels. No good. Changed to use mouse out and toElement = null to detect mouse outside of window. Also, cancel changes to simulate YUI dialog behavior in case they cause more side effects.
Revision: 21175
Modified : /icefaces/trunk/icefaces/bridge/lib/scriptaculous/dragdrop.js