Issue #5112Opened May 14, 2023by putzwasser0 reactions

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?

  1. Open the grapejs documentation page
  2. Try to add the section or text block via drag and drop
  3. 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)

artfMay 16, 20230 reactions

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.

gxanshuJuly 2, 20230 reactions

I'm facing the same issue with tauri. they use webgtk and drag & drop are not working there as well

putzwasserJuly 2, 20230 reactions

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.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.