-
Notifications
You must be signed in to change notification settings - Fork 22
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(autosuggest): add default min-width to autosuggest when loading #348
Conversation
@@ -52,7 +53,7 @@ | |||
|
|||
[part=backdrop] { | |||
background-color: @overlay-background-color; | |||
opacity: @overlay-opacity; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you override this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is wrong all together: being the loader too large and the background too grey. Perhaps we need a proper solution from Design/UX on how to cover this case (and all other cases with asynchronous popup loading). This code was just migrated from v3 where it made more sense.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe UX can say that entire screen needs to be greyed out, so we can deprecated autosuggest loading :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll go with this small improvement. It's better than today anyway. You know we would need to wait very long until they take an action. It means that users won't see any improvement until then :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated!, I have revert override backdrop opacity :)
Deploying with Cloudflare Pages
|
Kudos, SonarCloud Quality Gate passed! |
Description
In case autosuggest asynchronous with mask, If we didn't set default min-width for autosuggest, the result when opening autosuggest is the mask didn't show, because autosuggest width doesn't set.
Fixes # (issue)
https://jira.refinitiv.com/browse/ELF-1845