rust-windowing / rust-windowing/winit
Custom Element incompatibility
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
Description
I have a Web Custom Element which embeds an Event Loop.
If I use more than once my Custom Element in a web page, I get an error (RecreationAttempt) due to the fact that only one Event Loop can be created per browser tab.
Can this limitation be retired ?
Tested browsers
Firefox, Chrome
Tested devices
DELL XPS 13
Winit version
0.30
Contributor guide
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 reproducing the issue with multiple Web Custom Elements embedding an Event Loop in Firefox and Chrome, using Winit 0.30. Investigate the browser Event Loop limitation behind RecreationAttempt; done means multiple instances can coexist in one browser tab without that error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, wasm
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100