Skip to content
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

BUG: sorter.setDragHelper is not a function on block drag #6324

Open
2 tasks done
badiuciprian opened this issue Nov 22, 2024 · 0 comments
Open
2 tasks done

BUG: sorter.setDragHelper is not a function on block drag #6324

badiuciprian opened this issue Nov 22, 2024 · 0 comments

Comments

@badiuciprian
Copy link

badiuciprian commented Nov 22, 2024

GrapesJS version

  • I confirm to use the latest version of GrapesJS

What browser are you using?

131.0.6778.86

Reproducible demo link

https://jsfiddle.net/badiuciprian/qe28obhr/1/

Describe the bug

How to reproduce the bug?

  1. try dragging any block to the canvas

What is the expected behavior?
The component is rendered to the canvas

What is the current behavior?
Nothing happends, in the browser console an error is shown:

BlockView.ts:103 Uncaught TypeError: a.setDragHelper is not a function
at o.startDrag (BlockView.ts:103:12)
at HTMLDivElement.t (cash-dom.ts:765:36)

On my real app I get the error "sorter.setDragHelper is not a function" but i guess is the same issue.
I can confirm that this is not happening on version 0.21.13
https://jsfiddle.net/badiuciprian/0ngb48y6/4/

Code of Conduct

  • I agree to follow this project's Code of Conduct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant