-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Open
Labels
C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-WebSpecific to web (WASM) buildsSpecific to web (WASM) builds
Description
Bevy version
0.11.3
Relevant system information
Running WASM on firefox on WASM: wasm-bindgen v0.2.87, web-sys v0.3.64. Chromium also reproduces this issue.
What went wrong
Clicking on a link and then "Go back one page" in the browser returns to a frozen bevy app on WASM.
This does not happen with, for instance, egui, so I think it is not an upstream wasm-bindgen bug (?).
The issue can be reproduced:
- Go to https://bevyengine.org/examples/2D%20Rendering/2d-gizmos/
- The shapes should move.
- Click on the "here" link.
- Press "Go back one page" in your browser (left arrow, I am using the firefox term).
- The app is frozen.
Workaround
I am making my links open in a new tab but the workaround is not desirable since I have to implement a specialized Hyperlink struct for egui which is a lot of boilerplate for a link :(.
Metadata
Metadata
Assignees
Labels
C-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-WebSpecific to web (WASM) buildsSpecific to web (WASM) builds