requestAnimationFrame repeats infinitely
Open
bug
webpage
- Dominant language
- JavaScript
- Stars
- 776
- Forks
- 180
- PR merge metrics
- No merged PRs in 30d
Description
Calling requestAnimationFrame() in the live-editor and then continuing to edit code causes a huge stack-up of animation frame requests, causing the canvas to run more code faster and faster until it lags out and error buddy goes "taking too long".
Thats the issue.
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue by calling requestAnimationFrame() in the live-editor, then continuing to edit code while observing the canvas and Error Buddy. Trace where animation-frame requests are scheduled and cleared; done means repeated edits no longer make the canvas run faster or trigger the “taking too long” error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 28/100