Skip to content

FormLayout might not need autoWidth #628

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

Open
bedrich-schindler opened this issue Apr 29, 2025 · 0 comments
Open

FormLayout might not need autoWidth #628

bedrich-schindler opened this issue Apr 29, 2025 · 0 comments
Assignees
Labels
feature drop Feature which has a better alternative proposal

Comments

@bedrich-schindler
Copy link
Contributor

bedrich-schindler commented Apr 29, 2025

From the documentation of FormLayout:

For usage in auto-width Modal, you may need to turn on the autoWidth option for your FormLayout. This prevents FormLayout from unexpectedly growing in browsers that don't support CSS subgrid in cases when there are longer validation messages or help texts.

If you check the documentation of the subgrid, you can see Baseline 2023 tag. This means that at least 2 major versions of Safari and several major versions of other browsers have support of subgrid and this is what we aim for.

Image

I would consider dropping autoWidth as it does not make sense now. We cannot also tests this using Playwright when this is broadly supported.

cc @adamkudrna @mbohal @atmelmicro @lukasbriza

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature drop Feature which has a better alternative proposal
Projects
Status: 🔖 To do
Development

No branches or pull requests

2 participants