final-form / react-final-form-arrays

A component for rendering and editing arrays 🏁 React Final Form
MIT License
205 stars 70 forks source link

Nested field arrays are losing state handler methods after dragging #127

Open Skysplit opened 4 years ago

Skysplit commented 4 years ago

What is the current behavior?

In codesandbox: 1) Add section 2) Move newly added section before current one 3) Try to type something in nested item input 4) Error appears

Zrzut ekranu 2020-03-3 o 15 18 36

What is the expected behavior?

You can still correctly type in nested field array items

Sandbox Link

https://codesandbox.io/s/final-form-arrays-handlers-error-86wem

What's your environment?

final-form 4.18.7 final-form-arrays 3.0.2 react-final-form 6.3.5 react-final-form-arrays 3.1.1

vadim-shilov commented 3 years ago

https://codesandbox.io/s/react-final-form-field-arrays-add-before-error-43ys7

damjan25 commented 2 years ago

any plans to integrate this fix or is there something missing?