BUG: GrapeJS/drag and drop not working for Brave on Linux and Wayland
Question
GrapesJS version
- I confirm to use the latest version of GrapesJS
What browser are you using?
Version 1.51.110 Chromium: 113.0.5672.77 (Offizieller Build) (64-Bit)
Reproducible demo link
https://grapesjs.com/docs/getting-started.html#add-blocks
Describe the bug
On Linux Wayland (Arch Linux and Gnome) using Brave you can't add blocks. If you drag and drop blocks they simply disappear after releasing the mouse button, which renders GrapeJS broken/useless.
I tried it with disabled brave shields and in incognito mode to make sure nothing interferes with the JS. Same result
How to reproduce the bug?
- Open the grapejs documentation page
- Try to add the section or text block via drag and drop
- See that nothing happens
What is the expected behavior?
- The block should get added
What is the current behavior?
- Nothing happens
Code of Conduct
- I agree to follow this project's Code of Conduct
Answers (3)
By checking with the same Brave version (on Mac), drag and drop seems to work properly, so it doesn't look like an issue with GrapesJS itself or the browser. If anybody else experience the same or have more context about the issue, please let us know.
I'm facing the same issue with tauri. they use webgtk and drag & drop are not working there as well
By checking with the same Brave version (on Mac), drag and drop seems to work properly, so it doesn't look like an issue with GrapesJS itself or the browser.
I don't feel this is a valid check. You got a completely different setup by using a Mac. I expected that this issue might be related to my specific setup, but this don't mean that there's nothing that can be done on the grapesjs side.
I'm not expecting you to fix it, as it might be a corner case and resources are tight. Maybe it's even something related to using Brave on Wayland.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #4094
BUG: When drag and drop block into editor in Chrome, not able to drag and drop block
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Version 97.0.4692.71 (Official Build) (64-...
Issue #6271
BUG: Drag and drop of components doesn't work on latest Firefox
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Firefox 131.0 (64-bit) on Linux and Mac Re...
Issue #4116
BUG: Flex Property not working in style manager
GrapesJS version [x] I confirm to use the latest version of GrapesJS What browser are you using? Version 1.34.81 Chromium: 97.0.4692.99 (Of...
Issue #4921
BUG:
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome Version 110.0.5481.78 (Official Bui...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.