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

RangeError: Maximum call stack size exceeded, when clicking on the <Frame>, v0.2.3 #588

Open
welschmoor opened this issue Dec 6, 2023 · 0 comments

Comments

@welschmoor
Copy link

welschmoor commented Dec 6, 2023

Describe the bug
RangeError: Maximum call stack size exceeded - appears when clicking on the craftJs Frame

To Reproduce
Steps to reproduce the behavior:
In the readme of this repo which you can clone it is described how to reproduce it https://github.com/welschmoor/cjsrepro
This repo was created specifically to demonstrate the bug.

Clicking twice on the <Frame> that is imported from CraftJs seems to cause it.
The stack trace points to @craftjs/core/dist/esm/index.js

Expected behavior
No error

Screenshots

Screenshot 2023-12-06 at 12 10 59 After 2 mouse clicks on the area where we've added the "widget":

Screenshot 2023-12-06 at 12 11 27

Your environment

Software Version(s)
craft.js 0.2.3, the bug happens with all 0.2.x versions
React 18.2.0
Next 13 and 14
TypeScript yes
Browser All
npm/Yarn yarn
Operating System macOs latest
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