-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Input loses focus #159
Comments
Thanks for the bug report! You're right, this is unintentional. I have a fix, will publish it as soon as I can verify with some large codebases. |
Released in |
marvinhagemeister
added a commit
that referenced
this issue
Mar 2, 2019
Simplify finding oldVNode in diffChildren (-14 B)
marvinhagemeister
pushed a commit
that referenced
this issue
Mar 2, 2019
…in diffChildren (+14 B) It turns out that in [diffchildren-index-tracing-2](https://github.com/developit/ceviche/tree/diffchildren-index-tracing-2) (which I'd like to open a PR for), I have to bring back the index tracking that #159 removed. So before I open a PR for diffchildren-index-tracing-2, I'd like to revert the changes to diffChildren from #159 so that it is easier to see the real changes that the index tracing introduces.
marvinhagemeister
pushed a commit
that referenced
this issue
Mar 2, 2019
…ng oldVNode in diffChildren Revert changes to diffChildren from #159 - Simplify finding oldVNode in diffChildren (+14 B)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Codepen: http://codepen.io/anon/pen/ONKxeZ (write something in the input box to see the effect)
I tested a similar scenario with React and it works correctly. Apparently Preact detaches the text input during reconciliation, losing all focus info.
The text was updated successfully, but these errors were encountered: