jquery-ui icon indicating copy to clipboard operation
jquery-ui copied to clipboard

Jquery UI Sortable Drag and drop issue with overflow-x : hidden

Open LingeshK11 opened this issue 3 years ago • 6 comments

will assign body element with overflow-x: hidden style property. After applying the property will not be able to drag and drop the sortable element outside the display area since the vertical scroll is not moved while dragging outside

LingeshK11 avatar May 04 '22 15:05 LingeshK11

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?

mgol avatar May 04 '22 16:05 mgol

@mgol We are using jQuery UI 1.12.1

LingeshK11 avatar May 05 '22 05:05 LingeshK11

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.

mgol avatar May 05 '22 09:05 mgol

Also, whoever works on it would still need a test case so please provide one if you want to increase the chance of getting this fixed.

mgol avatar May 05 '22 09:05 mgol

Case : When I apply parent element [ body ] with [ overflow-x : hidden ]. Overflow-y will be allowed to the body tag but I will not able to sort the element outside the display area. sortable scroll issue

Here I attached the sample gif

LingeshK11 avatar May 05 '22 10:05 LingeshK11

A gif is not enough. Please submit a live test case on a site like JS Bin.

mgol avatar May 06 '22 11:05 mgol