-
Notifications
You must be signed in to change notification settings - Fork 8
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nimble combobox list option is not opening the first time you type #1324
Comments
@codrutaserban @ipopa144, I want to point out that the current behavior of the Combobox when its While this isn't on its own proving that this is proper behavior, I believe we can find reason behind it from the purpose of the This is problematic for your particular use-case, I believe, because you are applying your own custom filtering (and updating the actual list options in the DOM based on what the user types), and thus, while your To help solve your particular use-case, I would propose we expose the |
The current workaround that we found is to set the However, our expactation was this to be the default behaviour. If the dropdown is opened when clicking on the unfocused combobox with |
# Pull Request ## 馃え Rationale - #1324
馃悰 Bug Report
In a slide-out the combobox is the first input and when it opens the focus is on the combobox and you can start writing. The problem is the option list doesn't open after you type. It works if the combobox lose focus and you click on it again.
馃捇 Repro or Code Sample
These are the inputs:
<nimble-combobox *ngIf="showAutocomplete" #id formControlName="..." autocomplete="none" appearance="underline" placeholder="Path *" [error-text]="..." [error-visible]="abstractControl.touched && abstractControl.invalid">
馃 Expected Behavior
The option list should open when you start typing.
馃槸 Current Behavior
When you open the slide-out, even that you can type right away the option list doesn't open.
The problem seems to be that the
open
attribute is not set when you start typing and it is the one that makes the nimble-anchored-region become visible.馃拋 Possible Solution
馃敠 Context
This happens when you open the slide-out and the component is already on focus (is the first input) and doesn't detect I am typing.
馃實 Your Environment
The text was updated successfully, but these errors were encountered: