-
Notifications
You must be signed in to change notification settings - Fork 0
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
Form control focus ring clipped in dialogs #123
Comments
This is caused by the native overflow property that's now set here: In previous versions, the dialog's body appears to have padding which no longer exists, causing the overflow to get clipped. @LeaVerou what would you suggest as the best way to solve this one? |
Hmmm. It's been a while but I think the padding probably moved to facilitate applying padding directly on
Ideally, whatever solution we implement should also work for
So all in all, I'm leaning towards 1, but will mull it over a bit more in case I come up with anything better. |
Is there a use case where folks want things to show outside of the dialog body? Perhaps a tooltip or popover? Yes, they should use the Popover API (and will via our components as soon as we implement it) but that's still very new and I suspect third-party components/plugins won't always use it. |
That's a good point. I think it's unfortunate you have to pick between the two, but right now there is no way to do both — if we want the dialog to scroll when it has too much content, overflowing declarations are not possible (with a reasonable amount of effort/complexity at least). |
Describe the bug
Form controls that are placed in dialogs get their focus ring clipped.
To Reproduce
Steps to reproduce the behavior:
Dialog
component's "Setting Initial Focus" documentation.Screenshots
Browser / OS
The text was updated successfully, but these errors were encountered: