upsiflu / less-ui

Write your views across several screen regions, and hide all Ui state in the Url.
https://package.elm-lang.org/packages/upsiflu/less-ui/latest
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

`Toggle` toggles all nested regions instead of only its own #45

Open upsiflu opened 1 year ago

upsiflu commented 1 year ago

Expected behavior: When I open or close the TOC, then the nested pages in other regions should remain visible.

Observed behavior: All nested pages (contingent) are affected.

upsiflu commented 1 year ago

update: as it stands, this only affects wrappers directly contingent under the toggle.

Workaround: insert one layer of wrapping.

I feel it's important to flesh out the semantics.