I have encountered an issue with the new layer-list-next component in v5.1 of the JS SDK. When toggling the visibility of a group layer's child layer, the parent group layer's visibility is being toggled as well.
https://codepen.io/kaleb_integralnz/pen/dPNJQGB
Reproduction Steps:
- On the top layer list, drop down the Types of wheat over time group layer
- Turn off the Spring wheat layer. Note the group layer stays visible
- Turn it back on
- On the bottom layer list next, drop down the same group layer
- Turn off the same Spring wheat layer. Note the group layer is also hidden now too.
- Turn it back on. Note the group layer is also back on too.
Notes:
Tested on Zen 1.21.5b (Firefox 152.0.4), and Chrome version 150.0.7871.47