Skip to content

Commit

Permalink
fix: fix array items sortable (#3836)
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang authored May 30, 2023
1 parent 798fde7 commit 7477e86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/antd/src/array-items/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export const ArrayItems: ComposedArrayItems = observer((props) => {
lockAxis="y"
helperClass={`${prefixCls}-sort-helper`}
helperContainer={() =>
ref.current?.querySelector(`${prefixCls}-list`)
ref.current?.querySelector(`.${prefixCls}-list`)
}
onSortEnd={({ oldIndex, newIndex }) => {
field.move(oldIndex, newIndex)
Expand Down

0 comments on commit 7477e86

Please sign in to comment.