-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Form input gets unfocused after typing in 1 character. #1853
Comments
Not 100% sure but: Since you're declaring the component as an inline arrow function, the function's signature/reference will be different each time it is rendered. Likely solution, (untested, no guarantees):
|
You are correct :-) closing this ticket |
This solution didn't work for me. Just saying. This is my component: |
Took your code, replaced all the functions/components it didn't include with dummies: No loss of focus problems. So it must be that some of the logic you didn't include is causing the Feel free to make the jsfiddle code into a more complete example so the problem can be analyzed further. |
I had the same problem with an html table in which I have input text lines in a column. inside a loop I read a json object and I create rows in particular I have a column with inputtext.
var trElementList = (function (list, tableComponent) {
});
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi. I'm trying to implement bootstrap style inputs with
redux-form
. Whenever I start typing into an input like this; it will unfocus the input after 1 character. When I re-select it and continue typing it works normally. It also works normally when I just usecomponent="text"
.The text was updated successfully, but these errors were encountered: