Skip to content
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

Autofocus not working #1537

Open
viganella opened this issue Aug 23, 2022 · 0 comments
Open

Autofocus not working #1537

viganella opened this issue Aug 23, 2022 · 0 comments

Comments

@viganella
Copy link

viganella commented Aug 23, 2022

I have a powerselect component within a BsModal -> form.element (ember bootstrap).
When opening the dropdown the autofocus does not work. Same code tried with powerselect multiple (just for test purposes) works just fine.
<PowerSelect @searchEnabled={{true}} @searchField="name" @options={{this.sortedCities}} @selected={{el.value}} @placeholder="Select cities" @onChange={{action "onCityChange"}} @onKeydown={{action "createCityValue"}} as |city| > <span>{{city.name}}</span> </PowerSelect>

        Note: this works fine outside <BsModal> </BsModal> block.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant