-
-
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
FieldArray will lose the first focus from dispatch(initialize(initFieldArrayData)) after inputting #2079
Comments
Just posting this here cause I ran into similar behavior - Make sure you don't have something like this:
Do you see the error there? Passing an inline fn like that causes all sorts of focus problems, and is insanely inefficient because it's creating a new component dfn every time it renders (which is often). |
Hi @cisen, @jonjaques is right, this is a common error when dealing with Redux Form. Let me know if your problem is another one. |
Oh, and if you can provide some code example that reproduces your issue, it'll be great. |
@gustavohenke I think it was some thing like the example. But i don't know why it won't happen in the example。May be because this data's structure is too simple. In my case, it contains Hundreds items and deep nesting。
|
Because this issue saw almost no activity for a few months, I'm closing it. |
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. |
But initialize
FieldArray
byfields.push(initFieldArrayData)
is ok. I think there is some thing wrong with initial action.The text was updated successfully, but these errors were encountered: