Opened 7 years ago
Last modified 7 years ago
#14988 new bug
Draggable iframeFix prevents click event
Reported by: | Guy S | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.draggable | Version: | 1.11.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
I have a problem using jQueryUI Draggable and detecting both drag and clicks on an element when iFramefix flag is set to true.
http://jsfiddle.net/xBB5x/11706/
Code:
$(function(){
$("#dummy").draggable({iframeFix: true});
$("#dummy").click(function() { alert("hey ho"); });
}); From what I found out during some testing and research that the iframeFix creates some div overlay above the iframe so dragging will be smooth but that prevents clicks from being triggered.
http://stackoverflow.com/questions/38038007/jqueryui-draggable-with-iframefix-prevents-click-event
Note: See
TracTickets for help on using
tickets.