Skip to content

Commit 1abdd4f

Browse files
fixed dragging component issue
1 parent 6205ea8 commit 1abdd4f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

client/packages/lowcoder/src/layout/gridLayout.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,6 @@ class GridLayout extends React.Component<GridLayoutProps, GridLayoutState> {
127127
componentWillUnmount() {
128128
// Cleanup throttled debug function
129129
this.throttleDebug.cancel();
130-
131-
// Clear any remaining dragging data
132-
draggingUtils.clearData();
133-
134-
// Remove any remaining event listeners
135-
if (this.ref.current) {
136-
// The event listener is added in the render method using onKeyDown prop
137-
// No need to manually remove it as React handles cleanup
138-
}
139130
}
140131

141132
static getDerivedStateFromProps(

0 commit comments

Comments
 (0)