Opened 2 years ago

Last modified 2 years ago

#10712 open bug

Draggable: Cursor attached to scrollbar arrow in IE

Reported by: getvivekjoshi Owned by: getvivekjoshi
Priority: minor Milestone: none
Component: ui.draggable Version: 1.11.2
Keywords: Cc:
Blocked by: Blocking:

Description

<!doctype html> <html lang="en"> <head>

<meta charset="utf-8"> <title>jQuery UI Draggable - Default functionality</title> <link rel="stylesheet" href="code.jquery.com/ui/1.11.2/themes/smoothness/jquery-ui.css"> <script src="code.jquery.com/jquery-1.10.2.js"></script> <script src="code.jquery.com/ui/1.11.2/jquery-ui.js"></script> <link rel="stylesheet" href="/resources/demos/style.css"> <style> #draggable { width: 150px; height:auto; positio:relative; padding: 0.5em; } #draggable div { cursor: move; } </style> <script> $(function() {

$( "#draggable" ).draggable();

}); </script>

</head> <body> <div id="draggable" class="ui-widget-content">

<div style="height:100px; overflow-y:scroll; cursor: auto; background:red" >Drag me around<br>Drag me around<br>Drag me around<br>Drag me around<br>Drag me around<br>Drag me around<br>Drag me around<br>Drag me around<br>Drag me around<br>Drag me around<br>Drag me around<br>Drag me around<br>Drag me around<br>Drag me around<br></div>

</div> </body> </html>

(please test that code in IE there is one scroll bar inside the main div in IE if you click on scroll arrow for scrolling text the cursor attached to scroll bar not release and pop up will not released without page refresh)

Change History (5)

comment:1 Changed 2 years ago by tj.vantoll

Owner: set to getvivekjoshi
Status: newpending

What version of IE are you testing? I'm not seeing any problems in IE11: http://jsbin.com/kexinecivi/2/edit.

comment:2 Changed 2 years ago by getvivekjoshi

Status: pendingnew

hello please check in IE 10 and below version the cursor not released.

comment:3 in reply to:  1 Changed 2 years ago by getvivekjoshi

Replying to tj.vantoll:

What version of IE are you testing? I'm not seeing any problems in IE11: http://jsbin.com/kexinecivi/2/edit.

please check in IE 10 and below version. cursor not released.

comment:4 Changed 2 years ago by tj.vantoll

Component: ui.coreui.draggable
Status: newopen
Summary: Cursor attached to scrollbar arrow in IE for draggable divDraggable: Cursor attached to scrollbar arrow in IE

Ok I was able to recreate this. Interestingly enough this seems to only happen in Windows 7 and not Windows 8 or 8.1. I was able to recreate the problem in IE 11 on Windows 7.

comment:5 Changed 2 years ago by cgimeno

Something similar is also happening under Windows 7 and Firefox (both Dev 38.0a2 (2015-03-23) and "standard" 35.0.1)

The drag handler for the whole element is attached to cursor even if user is trying to drag only the scrollbar button.

Last edited 2 years ago by cgimeno (previous) (diff)
Note: See TracTickets for help on using tickets.