Support » Alpha/Beta/RC » Jquery drag/drop issue in 5.9RC2

  • Resolved Jacob N. Breetvelt

    (@opajaap)


    In 5.8 it still works: drag/drop rearranging photos in photo album plus plugin:
    Album admin -> Seq

    But in 5.9RC2 you can move the items, but they do not change their sequence order.
    Same plugin versions.

    Is there anything changed with respect to jquery-ui-sortable or anything related to it?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Jacob N. Breetvelt

    (@opajaap)

    I just verified that replacing …/js/jquery/ui/sortable.min.js (ver 1.13.0 in 5.9RC2) by ver 1.12.1 (from 5.8) makes it working again.

    Please revert to sortable.js 1.12.1 before releasing 5.9, or tell me what i have to change.

    Moderator Marius L. J.

    (@clorith)

    There have been compatibility updates for jQuery-UI so that it does not cause deprecation-warnings with later versions of jQuery in WordPress 5.9, but there are no functionality changes in jQuery-UI relating to this (you can find the changelog at https://blog.jqueryui.com/2021/10/jquery-ui-1-13-0-released/)

    It sounds like the plugin in question need some updates. I noticed it is triggering jQuery’s Quirks mode as well (fallback handling for old code), so this would not be a unique WordPress issue related to the 5.9 release, but rather an edge case that it is still working as expected and likely needs some adjustments to come compatible with newer versions of jQuery in the first place.

    There are no plans to revert the upgrade of jQuery-UI to a pre-1.13 version, as this release also contained security fixes.

    Moderator Marius L. J.

    (@clorith)

    Ahhh, I was mistaken (it happens 🙂 ), you are correct, there was a regression, and this will be resolved in WordPress 5.9.1

    You can follow the progress at https://core.trac.wordpress.org/ticket/54902, unfortunately it is too late to include this fix with WordPress 5.9, as the release is scheduled to start shortly.

    I’m marking the topic as resolved, as there is now a ticket for any future details that may need sharing.

    Thread Starter Jacob N. Breetvelt

    (@opajaap)

    Thanx!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Jquery drag/drop issue in 5.9RC2’ is closed to new replies.