I'm designing a three level map layer component and I found is a good idea to have an automated smart group that contains all the opened layers.
This smart group allows to (see and) quickly close any opened layer instead of remember the source group of each one.
Normal layers always "live" inside their groups but smart added layers are only alive while they are activated.
The thing is, when users hides (clicking the eye icon) any layer directly from the smart "Active layers" group the complete item dissapers giving a weird jump effect.
How can avoid this behaviour?