LayerList Widget Dragging on Touch Displays in 4.29.7

202
1
03-13-2024 07:18 AM
AndreV
by
Occasional Contributor

Hi I'm running some tests with the new SDK Version 4.29.7. There's a new property "dragEnabled" in LayerList Widget, which enables the dragging functionality for the ListItems. Dragging works fine on desktop with mouse, but on touch displays the widget crashs, when dragging an expandable layer

You can reproduce this in the official sample:

https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=widgets-layerlist

(just add dragEnabled: true to the properties at new LayerList)

gdi-hohenlohekreis.de
0 Kudos
1 Reply
Sage_Wall
Esri Contributor

Hi @AndreV,

Thanks for posting.  This is a known issue that we caught really late in the 4.29 development cycle.  Unfortunately it won't be fixed until the 4.30 release, as fixing requires upgrading the calcite components version in the 4.29 version of the API.  Changing the version so late in the release was determined to be too risky at that point.