unisonweb/ui-core

Asides at the bottom of a doc gets clipped and adds a scrollbar within a scroll area

hojberg opened this issue · 1 comments

Clipping is not great!

CleanShot 2022-09-08 at 10 18 46@2x

The challenge here is knowing when an aside is rendered near the end of the viewport and adjust. This has to happen after rendering is done, which is pretty annoying in Elm.

A good option would be to render asides in docs wrapped in a WebComponent that adjusts for this kind of thing. We could use the same WebComponent for tooltip adjustments.