Opened 7 years ago

Closed 5 years ago

Last modified 3 years ago

#5575 closed bug (cantfix)

Sortable: iFrame reloads on move

Reported by: CactO_o's Owned by:
Priority: major Milestone: 2.0.0
Component: ui.sortable Version: 1.8
Keywords: iframe reload sortable Cc:
Blocked by: Blocking:

Description

For this code example :

<ul id="sortable">
 <li>
    <iframe src="example.html"></iframe>
 </li>
 <li>
    <!-- -->
 </li>
</ul>

The iFrame is reloaded for each movement.

Change History (6)

comment:1 in reply to:  description Changed 7 years ago by watanabe

I think there is no way to solve the problem.

Sample iframe:

<iframe src="javascript:new Date().getTime().toString()"></iframe>

Test Code:

$("#testButton").click(function () {
 $("iframe").appendTo(document.body);
});

The iframe is reloaded in

  • Chrome 4.1.249.1064 (45376)
  • Opera 10.53
  • Safari 3.2.2 (525.28.1)
  • Firefox 3.5.9

It is not reloaded in

  • IE 8.0.6001.189004
  • IE 6.0.2900.5512_xpsp_sp3_gdr.100216-1514

comment:2 Changed 7 years ago by Scott González

Priority: criticalmajor

comment:3 Changed 6 years ago by lilpurplefaery

A workaround is now possible in Webkit browsers if you use adoptNode() to move the iframe (https://bugs.webkit.org/show_bug.cgi?id=13574#c10). Firefox still does not have a workaround (https://bugzilla.mozilla.org/show_bug.cgi?id=254144). But, it might be nice to apply the Webkit workaround, even if that is only a partial fix.

comment:4 Changed 5 years ago by Scott González

Milestone: TBD2.0.0

comment:5 Changed 5 years ago by mikesherov

Resolution: cantfix
Status: newclosed
Summary: iFrame reload on sortableSortable: iFrame reloads on move

Thanks for contributing! Unfortunately, we can't fix this until Firefox addresses the issue as well, as we're not going to implement a partial solution here. Periodically, we'll check to see if this is fixed in FF. until then, this is cantfix.

comment:6 Changed 3 years ago by pjpatel214

In Atlansian Jira, this bug is resolved, They use iframe in widget of dashboard, while I move widget, iframe not reload. This feature works in all browser. I don't understand how they achieve it.

Note: See TracTickets for help on using tickets.