react-grid-layout / react-grid-layout

A draggable and resizable grid layout with responsive breakpoints, for React.

Home Page:https://react-grid-layout.github.io/react-grid-layout/examples/0-showcase.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

React-grid-layout, antd dynamic form list

truedrug opened this issue · comments

Describe the bug

Hi Team, I have an usage issue with regard to antd dynamic forms and react-grid-layout

Linked issue: ant-design/ant-design#48005
All the details are present in the above issue and I have been routed to get help from RGL team

Your Example Website or App

https://codesandbox.io/p/devbox/5s2tlf

Steps to Reproduce the Bug or Issue

Reproduction link

Edit on CodeSandbox

Expected behavior

It should not change automatically - this happens once I use form.setFields

react-grid-layout library version

1.4.4

Operating System Version

macOS

Browser

Chrome

Additional context

No response

Screenshots or Videos

No response

If you want to use drag-and-drop sorting in antd's Form.List, maybe you can try dnd-kit?