-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
Description
While interacting with blocks (especially during collapse/expand operations or after importing multiple blocks), the console throws a runtime error originating from block.js.
The error occurs inside the updateBounds() function where that.pause(delayTime) is called, but pause() is not defined on the Block object.
This leads to an uncaught promise rejection and interrupts rendering logic.
Expected Behavior
The retry logic inside updateBounds() should delay execution and retry updating bounds without throwing errors.
Block rendering and collapse/expand behavior should work without console errors.
How to Reproduce
1.Run Music Blocks locally using:
npm run dev
2. Create or import multiple blocks (larger stacks increase likelihood).
3. Collapse or expand blocks.
4. Observe the browser console.
Console log Errors:
Environment:
- Operating System: Windows
- Browser (if applicable): Chrome
- Version of Software/Project: v3
Checklist
- I have read and followed the project's code of conduct.
- I have searched for similar issues before creating this one.
- I have provided all the necessary information to understand and reproduce the issue.
- I am willing to contribute to the resolution of this issue.
