SortableJS / Sortable

Reorderable drag-and-drop lists for modern browsers and touch devices. No jQuery or framework required.
https://sortablejs.github.io/Sortable/
MIT License
29.77k stars 3.7k forks source link

[bug] Safari 17.4.1 stalling when reordering (known bug?) #2385

Closed juliendorra closed 3 months ago

juliendorra commented 5 months ago

I was using SortableJS on Chrome Mac and Safari 16, and while Chrome is faster, Safari 16 works well even with several elements full of content.

Today I tried my web app using Safari 17.4.1 and found that the browser froze when starting a drag. This Mac is a quite fresh install.

To be sure it was not my app, I also tested on the demo page, and it is indeed behaving in the same way.

Is there a known issue with Safari 17?

  1. Go to http://sortablejs.github.io/Sortable/ on Safari 17, I used Safari 17.4.1 in my case
  2. Use the demos
  3. Sort is stopping the browser rendering, stalling. At some point the sort is done, but often mid-way

Versions: I'm using SortableJS 1.15.2 in my app, I'm not sure what version the demos use

Thanks!

[EDIT] added a video of how the grid demo behave on my Safari17.4.1

https://github.com/SortableJS/Sortable/assets/109677/bbc1bf28-eef8-4f45-9f58-e3bebe30a1af

juliendorra commented 3 months ago

It seems that it was a transient bug, as I now can't reproduce it using the same setting and versions. It's quite weird, as it was only affecting Sortable and the browser was responsive otherwise.