Skip to content

BUG: BUG: In Safari, drag and drop of blocks does not work since v0.22.1 #6591

@CES-TechAdmin

Description

@CES-TechAdmin

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

Safari 18.5 on Mac

Reproducible demo link

https://codepen.io/jmulik/pen/LEpdjZq

Describe the bug

How to reproduce the bug?

  1. View https://codepen.io/jmulik/pen/LEpdjZq in Chrome - Able to drag and drop blocks.
  2. View same in Safari. - Unable to drop and drop blocks.

What is the expected behavior?
Drag and Drag should work in Safari. Just like in Chrome.

What is the current behavior?
Drag and Drop of blocks does not work in Safari.

Observations
Drag and Drag in Safari works in GrapeJS v0.21.13. Broken in v0.22.1 and later.

The cause of the issue seems to be the inability of the grapejs session to create the gjsProject key in browser local storage.

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions