#7650 closed bug (fixed)
Dialog cannot be dragged properly with IFRAME
Reported by: | kruncher | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.10.1 |
Component: | ui.dialog | Version: | 1.8.15 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Dialog dragging is glitchy when IFRAME is contained within content area. Dialog movement stops when mouse pointer overlaps IFRAME. Same issue occurs when resizing dialog.
The following fix works for me, but I suspect something better could be added into the dialog script.
var __overlay_fix_start = function() { var overlay = $(this).find('.hidden-dialog-overlay'); if (!overlay.length) { overlay = $('<div class="hidden-dialog-overlay" style="position:absolute;top:0;left:0;right:0;bottom:0;z-order:100000;"></div>'); overlay.appendTo(this); } else overlay.show(); }; var __overlay_fix_stop = function() { $(this).find('.hidden-dialog-overlay').hide(); }; // Cover dialog content with overlay during resizing / moving // to avoid unusual results. options.resizeStart = (options.dragStart = __overlay_fix_start); // Hide transparent overlay once dragging or resizing has stopped options.resizeStop = (options.dragStop = __overlay_fix_stop);
Change History (7)
comment:1 Changed 12 years ago by
Status: | new → open |
---|
comment:3 Changed 10 years ago by
Milestone: | 1.9.0 → 1.10.0 |
---|
comment:4 Changed 10 years ago by
Milestone: | 1.10.0 → 2.0.0 |
---|
comment:5 Changed 10 years ago by
Scott on IRC: "We can build an iframe fix inside dialog for now."
Version 0, edited 10 years ago
by
(next)
comment:6 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | open → closed |
Dailog: Cover iframes during drag and resize. Fixes #7650 - Dialog cannot be dragged properly with IFRAME.
Changeset: a7353e7c9ba18e017813195c885115338800e13d
comment:7 Changed 10 years ago by
Milestone: | 2.0.0 → 1.10.1 |
---|
Note: See
TracTickets for help on using
tickets.
We can turn on iframeFix for draggable, but resizable doesn't have an option yet. After the interactions rewrite this will automatically happen.