-
Notifications
You must be signed in to change notification settings - Fork 43
Should Dialog let contents overflow outside? #82
Comments
The
|
What triggered the version bump https://github.com/github/codespaces/issues/6834 |
Something I want to note here is that in your third video demonstrating the overflow, you scroll but not so much as to scroll the page, in #63 that is the problem being targeted (and solved) by the I'd personally be advocating for the contents to not overflow by default, however, in the case where an unknown number of options can appear in a dropdown it would make sense to reset the overflow to |
@pqt Good shout! Looking at #63, feels like we might have a regression?: (changed the height of the dialog with developer tools) regression.movScrolling on the transfer issue dialog:
|
When an element inside
<details-dialog>
is longer than the dialog, it results in a scroll on the dialog which isn't ideal:overflow-auto.mov
This can be reproduced in the
Dialog with <include-fragment>
example: https://github.github.io/details-dialog-element/example/index.htmlScreen.Recording.2022-03-16.at.2.36.28.PM.mov
The cause can be narrowed down to a
overflow:auto
index.css#L12Removing that line, does make it behave nicely. But, I'm not sure what would break instead OR if there are any tradeoffs.
without-overflow-auto.mov
More screenshots via @dipree:
The text was updated successfully, but these errors were encountered: