MicrosoftEdge / MicrosoftEdge/WebView2Feedback
window.requestAnimationFrame background throttling
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
I need an option to ensure that window.requestAnimationFrame does not throttle when my application does not have focus. By the nature of my application, it will normally not have focus but it still needs to be able to render smooth animations. The throttling happens at unexpected times, where it will continue smooth animation for a while after I click away, but minutes later it becomes a slide show until I click the window again.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by investigating window.requestAnimationFrame behavior in an unfocused WebView2 application, comparing animation timing before and after focus is lost. Review the linked AB#32524564 work item for current context; done means an agreed option or supported behavior prevents the reported background throttling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100