-
Notifications
You must be signed in to change notification settings - Fork 185
Remove focus when an external field is focused programmatically #264
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
Conversation
|
Something strange, The CI report mentions 3 failures and still, it's green 🤷 The same problem happened already? |
|
Thanks for this. Will merge soon 👍 |
|
Hello @rob-balfre 👋 Do you have any ETA when this can be merged and released? |
|
When i get the time :) |
|
Hey @rob-balfre 👋 Well done for improving the library and incorporating one of the tests I wrote on this PR in the master branch. Unfortunately, only one scenario is covered. The demo I shared is still relevant. Would it be possible to merge this PR and release it? I updated my branch, so no more conflict and no test duplication. |
|
No prob. Will take a look this week.
Thanks for updating the pr
…On Sun, 4 Jul 2021, 21:00 David Fournier, ***@***.***> wrote:
Hey @rob-balfre <https://github.com/rob-balfre> 👋
Well done for improving the library and incorporating one of the tests I
wrote on this PR in the master branch. Unfortunately, only one scenario is
covered. The demo
<https://svelte.dev/repl/d94bee3dcbe041aaaf892208d7446005?version=3.12.1>
I shared is still relevant.
Would it be possible to merge this PR and release it? I updated my branch,
so no more conflict and no test duplication.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#264 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUAM7WLBTWC24J7FHCM3ULTWA5OVANCNFSM45YGZETA>
.
|
|
@davidfou released in v4.2.1 - thanks :) |
|
Hi, this change has caused a new bug in our application. We don't fully understand what is the root cause. However, we have confirmed that our application works correctly with v4.2.0 and breaks with v4.2.1 and v4.2.2. It is difficult to prepare a small reproducible example, so I thought to first describe the issue and see if you could intuit what's going on. We use This only happens if |
|
4.2.1 is breaking selects in my app as well. Mouse clicks on options are not working any longer. |
|
Can you raise an issue with a REPL please
…On Sat, 10 Jul 2021, 23:57 Claas, ***@***.***> wrote:
4.2.1 is breaking Selects my app as well. Mouse clicks on options are not
working any longer.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#264 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAUAM7SEYBLQYQXWMLWY7JDTXBGUPANCNFSM45YGZETA>
.
|
|
Just tested: Select in regular Svelte REPL works, Select in new barebones SvelteKit app fails. |
|
Suspecting the deprecation of |
|
I would love to give you a hand here. Would it be possible to share either a demo on the online REPL or a repo with that bug? |
|
thanks, I just set up a fresh barebones SvelteKit via nothing more to it, i guess |
|
Indeed I confirm, I have the bug as well by following your steps 👍 I think the best would be to create a ticket? |
|
@rob-balfre has seen this thread, but I opened a new issue #278 in any case. |
Remove focus when an external field is focused programmatically


Hello 👋
First of all, thanks a lot for your library, it helped me a lot with my project.
After a user selects an item, another field is focused automatically. The problem is, the
Selectcomponent is still focused and pressing arrows keys are handled by it. Here is a demo (based on your comment #250 (comment)).I'm not 100% though it was the use case reported by @jquesada2016.
Let me know what you think about that improvement/fix 😄
Closes #250