Maputnik version: main
Browser: Firefox
OS: Windows 11
Description of the bug:
Layer deletion collapses all expanded groups.
Steps to reproduce the behavior:
- Open "OSM Liberty" style
- Click "Expand"
- Delete the background or any other layer

- All the layer groups have collapsed

Other than being an anomaly, this behavior also makes it difficult to create example styles for Maplibre issue, as it complicates the process of cleaning-up real-life styles.
Maputnik version: main
Browser: Firefox
OS: Windows 11
Description of the bug:
Layer deletion collapses all expanded groups.
Steps to reproduce the behavior:
Other than being an anomaly, this behavior also makes it difficult to create example styles for Maplibre issue, as it complicates the process of cleaning-up real-life styles.