-
Notifications
You must be signed in to change notification settings - Fork 76
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
[list] - unable to drag and drop list items successfully on mobile devices with drag-enabled #8728
Comments
@jcfranco would FrancoCorp™️ have any time to help debug this one? What i've uncovered is that it seems like when in I'm able to reproduce the same "non working" behavior if I set the |
FrancoCorp™ can provide support later today. 🫡 Excellent sleuthin', @driskull! 🕵️ |
Sorting is also an issue with the block and value-list components when the |
**Related Issue:** #8728 ## Summary - Fixes fallback ghost element styling to not overflow its container. - adds fallback class for sortable items.
**Related Issue:** #8728 ## Summary - Fixes dragging when on a mobile device. - Sortablejs uses fallback code instead of native drag and drop on mobile devices. - Patches `sortablejs` dependency until the fix for the issue is installed and released. SortableJS/Sortable#2346 - Adds and uses the dependency `patch-package` to handle patching the dependency. - Applies the changes listed here: SortableJS/Sortable#2347 --------- Co-authored-by: JC Franco <jfranco@esri.com>
Installed and assigned for verification. |
Verified in RPReplay_Final1708011229.MP4 |
**Related Issue:** #8728 ## Summary - Fixes fallback ghost element styling to not overflow its container. - adds fallback class for sortable items.
**Related Issue:** #8728 ## Summary - Fixes dragging when on a mobile device. - Sortablejs uses fallback code instead of native drag and drop on mobile devices. - Patches `sortablejs` dependency until the fix for the issue is installed and released. SortableJS/Sortable#2346 - Adds and uses the dependency `patch-package` to handle patching the dependency. - Applies the changes listed here: SortableJS/Sortable#2347 --------- Co-authored-by: JC Franco <jfranco@esri.com>
Check existing issues
Actual Behavior
Unable to drag and drop a list item in a list with drag-enabled on mobile devices or when browser developer tools are set to mimic a mobile device. This is impacting the ArcGIS Maps SDK for JavaScript LayerList widget and all the applications that use it.
cc @driskull @geospatialem
Expected Behavior
It's expected to be able to move list items on mobile devices using touch gestures.
Reproduction Sample
https://codepen.io/sagewall/pen/eYXQpmz
Reproduction Steps
As an alternative, the same behavior exists when opening the codepen and using the toggle device bar to switch to a mobile device in the chrome developers tools.
calcite.list.drag.bug.mp4
Reproduction Version
2.4.0
Relevant Info
No response
Regression?
No response
Priority impact
p0 - emergency
Impact
Preventing Map Viewer, Experience Builder, Instant Apps and custom applications using the ArcGIS Maps SDK for JavaScript LayerList widget from having drag-enabled layer lists on mobile devices.
Calcite package
Esri team
ArcGIS Maps SDK for JavaScript
The text was updated successfully, but these errors were encountered: