DashboardGrid: Ensure drag handle always follows the cursor (#88099)

use flushSync in react-grid-layout
This commit is contained in:
Ashley Harrison
2024-05-28 09:46:04 +01:00
committed by GitHub
parent 3d9908f363
commit 6f9527b4c2
3 changed files with 144 additions and 28 deletions
+3 -2
View File
@@ -354,7 +354,7 @@
"react-dom": "18.2.0",
"react-draggable": "4.4.6",
"react-dropzone": "^14.2.3",
"react-grid-layout": "1.4.4",
"react-grid-layout": "patch:react-grid-layout@npm%3A1.4.4#~/.yarn/patches/react-grid-layout-npm-1.4.4-4024c5395b.patch",
"react-highlight-words": "0.20.0",
"react-hook-form": "^7.49.2",
"react-i18next": "^14.0.0",
@@ -414,7 +414,8 @@
"history@4.10.1": "patch:history@npm%3A4.10.1#./.yarn/patches/history-npm-4.10.1-ee217563ae.patch",
"history@^4.9.0": "patch:history@npm%3A4.10.1#./.yarn/patches/history-npm-4.10.1-ee217563ae.patch",
"redux": "^5.0.0",
"@storybook/blocks@npm:8.0.10": "patch:@storybook/blocks@npm%3A8.0.10#~/.yarn/patches/@storybook-blocks-npm-8.0.10-6f477cd35f.patch"
"@storybook/blocks@npm:8.0.10": "patch:@storybook/blocks@npm%3A8.0.10#~/.yarn/patches/@storybook-blocks-npm-8.0.10-6f477cd35f.patch",
"react-grid-layout": "patch:react-grid-layout@npm%3A1.4.4#~/.yarn/patches/react-grid-layout-npm-1.4.4-4024c5395b.patch"
},
"workspaces": {
"packages": [