-
Notifications
You must be signed in to change notification settings - Fork 491
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
fix(@clayui/picker): LPD-28522 Fix language selector not displaying correctly on web content #5835
Conversation
Heu @matuzalemsteles @pat270 @ethib137 |
82ee1a4
to
eefb5ae
Compare
05e517c
to
5dcfe70
Compare
I sent a commit to simplify the implementation a little bit. |
Nice work on this @ilzamcmed and @matuzalemsteles . LGTM. I think we really need some tests for this to ensure the menu continues behaving as expected in all the examples we listed on this PR. I don't mind if we merge this first and create a separate task to add the tests. What do you guys think? Do tests seem helpful for this? |
I think we can leave the examples in the stories with menu open by default to do this as a chromatic test, the unit test is a little bad for reproducing this because normally the sizes are fake and it is not very reliable because this is normally a mock. |
Ticket: https://liferay.atlassian.net/browse/LPD-28522
Motivation
The language selector is not displaying correctly: the labels of the status are overlapping the language key and the number of fields is not appearing.

Proposed Solution
Be able to set an auto width so that the menu can grow with the content.
Screenshots
Commits