-
Notifications
You must be signed in to change notification settings - Fork 16
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
IBX-2627: dropdown small styling issues #382
Conversation
tischsoic
commented
Mar 30, 2022
Question | Answer |
---|---|
Tickets | https://issues.ibexa.co/browse/IBX-2627 |
Bug fix? | yes/no |
New feature? | no |
BC breaks? | no |
Tests pass? | yes |
Doc needed? | no |
License | GPL-2.0 |
@@ -283,6 +285,21 @@ | |||
return this.itemsContainer; | |||
} | |||
|
|||
toggleSourceFocus(isFocused) { | |||
const isDisabled = this.container.classList.contains('ibexa-dropdown--disabled'); | |||
const shouldFocus = isFocused && !isDisabled; |
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.
As I understand, source input is still focusable, so there's possibility that user will focus on it, but as dropdown is disabled, it won't be visible as focused.
Probably source input should be disabled as well, when dropdown is disabled?
@tischsoic please merge up to 4.1 and main. |