Hi All
I am having an issue with Calcite maps Javascript and the 4.x LayerList widget using Android Chrome. It seems that when the layer list widget has selectionEnabled: true - I am unable to turn the layers on/off and/or expand the layers in the widget. I can reorder the layers without issue however. This only seems to happen when the view is small as on a phone...it works fine when using a desktop browser.
Any ideas?
Thanks!
Update: we will have this fixed for the Spring release (4.15), and the update should be available now on js-next. Thank you again for reporting this issue. This sneak-peak app should work as expected:
https://codepen.io/noash/pen/eYNpKLN
Hi Michael, could you provide some more information to reproduce the issue? Specifically, a link to a sample that you used, and the type and version of the Android device.
I tested with this sample:
LayerList widget - 4.14
On a Samsung Galaxy s8 with Chrome, and it worked fine.
Hi Noah,
Yes it works fine for me too on a Pixel 2 with default functionality, but, the same sample above and adding 'selectionEnabled: true' to the LayerList will not allow turning on/off layers or expanding the layers. Reordering the layers works just fine however. The 'selectionEnabled: true' property is the issue. And it appears that it has nothing to do with Calcite.
Mike
Gotcha. I can reproduce the issue now. Thanks for reporting this. We'll investigate and I'll update this thread when there is something to share.
Great! Thanks Noah! I look forward to hearing about a solution (or a temp work-around).
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.