Used computePosition and autoUpdate for menus anchored to a text cursor and to other menus. It worked first time, including virtual anchors and flipping near screen edges.
- What worked
- Virtual elements with a getBoundingClientRect were enough for cursor anchors, and flip and shift kept nested panels on screen.