Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
hojberg opened this issue Sep 8, 2022 · 1 comment
Assignees
Labels
bug Something isn't working snooze-3 Issue is likely to be worked on, might become "on-deck" in the next couple of months

Comments

@hojberg
Copy link
Member

hojberg commented Sep 8, 2022

Clipping is not great!

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

@hojberg hojberg added the bug Something isn't working label Sep 8, 2022
@hojberg hojberg self-assigned this Sep 8, 2022
@hojberg hojberg added the snooze-3 Issue is likely to be worked on, might become "on-deck" in the next couple of months label Oct 24, 2022
@hojberg
Copy link
Member Author

hojberg commented Nov 24, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working snooze-3 Issue is likely to be worked on, might become "on-deck" in the next couple of months
Projects
None yet
Development

No branches or pull requests

1 participant