When an element inside `<details-dialog>` is longer than the dialog, it results in a scroll on the dialog which isn't ideal: https://user-images.githubusercontent.com/1863771/158603253-bedb71b2-9115-4ab2-be9d-21f9bd7876ed.mov This can be reproduced in the `Dialog with <include-fragment>` example: https://github.github.io/details-dialog-element/example/index.html https://user-images.githubusercontent.com/1863771/158602534-d440a0d9-91b1-454a-9695-80a0599e03f3.mov The cause can be narrowed down to a `overflow:auto` [index.css#L12](https://github.com/github/details-dialog-element/blob/main/src/index.css#L12) Removing that line, does make it behave nicely. But, I'm not sure what would break instead OR if there are any tradeoffs. https://user-images.githubusercontent.com/1863771/158603267-e7906134-75fe-48fc-9e1b-9a4d240cc19d.mov More screenshots via @dipree: <img alt="" src="https://user-images.githubusercontent.com/1863771/158603470-1f673594-c9a6-4757-b2d4-40c6d4158cb6.png" height="200px"> <img alt="" src="https://user-images.githubusercontent.com/1863771/158603498-773f4de5-1bae-4553-bd9e-c1e8fcce5753.png" height="200px"> <img alt="" src="https://user-images.githubusercontent.com/1863771/158603512-26114091-e7ad-4de4-b0c4-1bad61c9e91d.png" height="200px">
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:autoindex.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:
