winit
winit copied to clipboard
Custom Element incompatibility
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
The related code is: https://github.com/rust-windowing/winit/blob/1e7ab0cd259b1352d3a79342f6d77bab5830609f/winit-web/src/event_loop/mod.rs#L30-L33