-
-
Notifications
You must be signed in to change notification settings - Fork 458
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
Unsortable item can be sorted in some cases #885
Comments
Way Three: |
It works on "items: ':not([unsortable item selector])'", not for "sortable('[[selector]]', 'disable')". |
If you can send a PR to fix this, that would be awesome. |
I think it yet exists, Can i work in this ? |
I think it would be great :)
…------------------ 原始邮件 ------------------
发件人: "lukasoppermann/html5sortable" ***@***.***>;
发送时间: 2024年7月23日(星期二) 上午8:37
***@***.***>;
***@***.******@***.***>;
主题: Re: [lukasoppermann/html5sortable] Unsortable item can be sorted in some cases (Issue #885)
I think it yet exists, Can i work in this ?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Describe the bug
Unsortable item can be sorted in some cases.
To Reproduce
Steps to reproduce the behavior:
Way one:
Way Two:
1.A sortable item with index [n], and a unsortable item with index [n+1]
2.Drag the sortable cross the unsortable item (change their index)
3.Repeat step2 (reset their index)
4. The unsortable item can be sorted now
Expected behavior
Make sure unsortable item can't be sorted.
Test Case
Please copy this codepen and create a working test case showing the experienced bug: https://codepen.io/pen/?template=GRoQRxo
Has tested, it exists.
System (please complete the following information):
Additional context
None
The text was updated successfully, but these errors were encountered: