Description
IMG_0554.MP4
Solution/Workaround: Decompose offers a list of all active child instances (stack.items
, Returns the full stack of component configurations, ordered from tail to head). As per @arkivanov's suggestion, they should be stacked using ZStack
, and every child should have a unique id
modifier. Calling bringToFront
will handle displaying the active instance on top.
As the screens are now stacked, each child should have a frame
and background
modifier so they don't appear to overlap each other. Perhaps @arkivanov may have some other solution.
However, this workaround results in a transparent navigation bar when scrolling the speakers list (which occurs after switching back to the Speakers tab from the Venue tab).
If I get this transparent thing fixed, I will create a PR!