我有一個jQuery UI可拖動的div,並且由於可拖動,HTML內容不能正常運行。Jquery Draggable UI覆蓋了可拖動的Div中的HTML元素的普通瀏覽器行爲
<div id="popup"> <!-- this popup is draggable -->
This text is not selectable. When I try to select it, the popup div is dragged.
<div style="overflow:auto; height:50px">
Lots of text here, vertical scrollbar appears. But clicking the scrollbars don't work (doesn't scroll the content). Each click (mousedown-mouseup) is considered "dragging".
</div>
</div>
如何防止可拖動的UI覆蓋HTML元素的正常瀏覽器行爲?