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

Typing word issue #46

Open
pankamilr opened this issue Aug 30, 2018 · 2 comments
Open

Typing word issue #46

pankamilr opened this issue Aug 30, 2018 · 2 comments

Comments

@pankamilr
Copy link

pankamilr commented Aug 30, 2018

I found an issue. Hope you will know how to handle with this because I just goin' crazy wit it.

Steps (looking at your examples):

  1. Focus on
  2. Start typing Col and select Colorado from the list
  3. Now is going to be tricky part: cursor is standing right next to Colorado and im try to get Connecticut so I'm starting typing C and there's go boom! Combobox loose focus when I start to search word that starts with the same characters as previous selected words. And it's going to loose focus every time when the characters will match! So when i place a cursor after my C and type o it will loose focus again.

How to prevent that?

@upsteer
Copy link

upsteer commented Jun 22, 2021

Any update on the issue?
@pankamilr @kveeiv

@mac066
Copy link

mac066 commented Jul 30, 2021

@pankamilr @kveeiv
We can simply prevent the focus of the input field when a particular option is already selected. In the syncSelection method we can pass the

preventFocus= true 

to the selection modal of the picker store.

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

3 participants