-
-
Notifications
You must be signed in to change notification settings - Fork 640
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Toolbar BUG occur after media dragging #2891
Comments
@Zum-Gluck I noticed the same issue. Do you have solution for this bug? |
@Zum-Gluck After digging into the source code, I found that the toolbar was blocked by ScrollArea (zIndex 10000) from dnd plugin: https://github.com/udecode/plate/blob/main/packages/dnd/src/components/Scroller/ScrollArea.tsx#L24 You can disable it https://platejs.org/docs/dnd#enableScroller |
Or call |
Thank you @zbeyens! Any plan to fix this issue? It only happens when user drag and drop the selected content within visible area for example drag and drop text within the same line, then both top and low scroll areas are automatically removed. |
No ETA but PR's welcome |
The area of the page is not clickable becayse DnD renders the top and bottom scrollers with fixed position. I am temporarily disabling the scroller of DnD plugin.
The issue is caused by the DnD plugin handlers onDragStart and onDrop handlers are called when you drag & drop text, but onDragEnd is not. The way this is handled in |
Drag.mp4
Funding
The text was updated successfully, but these errors were encountered: