Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sortable] .disableSelection() is deprecated #149

Open
mvhirsch opened this issue Oct 3, 2023 · 2 comments
Open

[Sortable] .disableSelection() is deprecated #149

mvhirsch opened this issue Oct 3, 2023 · 2 comments

Comments

@mvhirsch
Copy link

mvhirsch commented Oct 3, 2023

On my version of jquery-ui (I'm using v1.13.2) it doesn't even exist and leads to an error, rendering the drag-and-drop unusable.

See https://api.jqueryui.com/disableselection/

@jordisala1991
Copy link
Member

Do you want or know how to fix the deprecated code?

@mvhirsch
Copy link
Author

mvhirsch commented Oct 4, 2023

I'm using v0.16.1, because of an old php version. I copied the file and removed that method call:

This works on my system now, but in theory allows selection of elements. That can be disabled using CSS (if I remember correctly).

I could provide a PR, but are unable to test it atm on modern versions (PHP 8 / runroom-packages/sortable-behavior-bundle 0.17.1).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants