Opened 3 years ago

Closed 2 years ago

Last modified 2 years ago

#9604 closed bug (fixed)

Sortable: Add support for use in iframes

Reported by: eithed Owned by:
Priority: minor Milestone: 1.11.3
Component: ui.sortable Version: 1.10.3
Keywords: Cc:
Blocked by: Blocking:

Description

Hi!

I've found out that sortable fails completely when called out from parent document, on elements within an iframe. It would seem to me that mouse events that are being used are not on the document within which the given sortable resides, as dragging outside the frame actually does move the elements within (however, I've not looked within the source).

Please find the jsfiddle here: http://jsfiddle.net/YWL88/1/

Git version (which helped with the similar, draggable issue, jsfiddle here: http://jsfiddle.net/YWL88/2/) throws an exception.

Tested under Chrome.

Thanks!

Change History (5)

comment:1 Changed 3 years ago by tj.vantoll

  • Status changed from new to open
  • Summary changed from Sortable within iframe doesn't work to Sortable: Add support for use in iframes

Thanks eithed,

We've been trying to convert our widgets to use an internal reference to the document they were created in across the board. It seems sortable still has a number of unqualified references to document.

comment:2 Changed 2 years ago by Marcus Warren

  • Resolution set to fixed
  • Status changed from open to closed

Sortable: Add support for iframes

Fixes #9604 Closes gh-1443

Changeset: 17c7f698a2894211bbb5f2d63750f5b3b84bb0ab

comment:3 Changed 2 years ago by scottgonzalez

  • Milestone changed from none to 1.12.0

comment:4 Changed 2 years ago by Marcus Warren

Sortable: Add support for iframes

Fixes #9604 Closes gh-1443 (cherry picked from commit 17c7f698a2894211bbb5f2d63750f5b3b84bb0ab)

Changeset: fa460f36dc8191e4fe23c02bcbcc7d5006b51d7e

comment:5 Changed 2 years ago by scottgonzalez

  • Milestone changed from 1.12.0 to 1.11.3
Note: See TracTickets for help on using tickets.