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

Lost focus on tag adding #163

Closed
bouffekai opened this issue Nov 3, 2021 · 1 comment
Closed

Lost focus on tag adding #163

bouffekai opened this issue Nov 3, 2021 · 1 comment

Comments

@bouffekai
Copy link

Hello,

I have a Multiselect component :
<Multiselect v-model="datas.name.data" mode="tags" :search="true" :searchable="true" :placeholder="datas.name.placeholder" @open="filteredName" :options="datas.name.items" track-by="value" class="custom-tags-input no-caret" :limit="limit" :loading="loadingName" :disabled="loadingName" :showOptions="datas.name.showOptions" @search-change="optionsDisplay" @close="onCloseDrugname" :strict="false" />

On my local machine, once I select an option on autocomplete, the focus stay on the input. But on my staging environment, it's not (same version of the code in both environment). I have to click again on the input to get the focus.
Do you know what can be at the origin of this bug ?

Thank you for your help.
Jérémy

@adamberecz
Copy link
Collaborator

Thanks for reporting @bouffekai - fixed in 2.3.0. Now every time you select an option while having search the focus should be placed back to the input.

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

2 participants