You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Drag&Drop and hover bug for wide scrollable element. #2346
Create a wide element and place it in a horizontally scrolling container.
Place two such containers in a row.
Start dragging the element from right to left.
And when the cursor is still on the right container, you can see that the element in the left container is selected as the target for placement. Which the cursor has not even reached yet!
If you drag row 1 of the right container and release the button on row 2 of the right container in its left half, you will get two drop events. Where the event.target is the second row of each container.
Activity
mgol commentedon Apr 1, 2025
Thanks for the report. Does the issue you describe exist when jQuery UI 1.12.1 is used or only with jQuery UI 1.13.0 or newer?
Also, can you upload the test case to a platform like JS Bin?
vmishurov commentedon Apr 3, 2025
jQuery UI 1.12.1 same result
https://jsbin.com/ruzijosuga/edit?html,output
mgol commentedon Apr 3, 2025
Thanks for the info & a test case. Since the issue is already in 1.12, given limited team resources it's not likely to be fixed by the UI team; see the project status at https://blog.jqueryui.com/2021/10/jquery-maintainers-update-and-transition-jquery-ui-as-part-of-overall-modernization-efforts/. PRs are welcome if they're not too complex and contain tests.