Come together with the global Drupal community in Rotterdam, 28 Sept – 1 Oct 2026. Sessions, contribution, connection, and Early Bird savings until 8 June.
No it's currently not possible to drag the modal, and I currently have no plans to implement such a feature to it. It could theoretically be added in using the modal settings, but it would require someone to do the development effort.
I think I won't bother with this module. Have had a look at dialog which has dev version for 7. Still a bit buggy though. Then I hear there is talk of a jQuery modal dialog built into the core? Anyone know the story?
As for the jquery UI modal, that's a definite maybe. It's significantly different enough that I worry about mucking up the existing API. The modal that CTools uses is very simple and is relatively easy to use. I'm not against it, and I'd be interested in a patch as long as it was well executed and could work seamlessly.
Comments
Comment #1
southweb commentedAny thoughts on this? thanks
Comment #2
southweb commentedIs dragging a modal dialog feasible?
thanks
Comment #3
merlinofchaos commentedNo it's currently not possible to drag the modal, and I currently have no plans to implement such a feature to it. It could theoretically be added in using the modal settings, but it would require someone to do the development effort.
Comment #4
nod_on that topic, would you consider using jquery ui to handle modal dialog for 7.x ? If that's the case i'd be happy to send patches.
Comment #5
southweb commentedI think I won't bother with this module. Have had a look at dialog which has dev version for 7. Still a bit buggy though. Then I hear there is talk of a jQuery modal dialog built into the core? Anyone know the story?
Comment #6
merlinofchaos commentedThat's fine, but please don't post to issues in this module's queue if that's the case.
Comment #7
merlinofchaos commentedAs for the jquery UI modal, that's a definite maybe. It's significantly different enough that I worry about mucking up the existing API. The modal that CTools uses is very simple and is relatively easy to use. I'm not against it, and I'd be interested in a patch as long as it was well executed and could work seamlessly.
Comment #8
dave reidI think it's probably better if we used jQuery UI Modals for this rather than adding this functionality in: #1397370: Make modal.js use jQuery dialog.