-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
web: window cursor position is set on mouse click #7513
Copy link
Copy link
Closed
Labels
A-InputPlayer input via keyboard, mouse, gamepad, and morePlayer input via keyboard, mouse, gamepad, and moreC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-WebSpecific to web (WASM) buildsSpecific to web (WASM) builds
Description
Bevy version
main
Relevant system information
AdapterInfo { name: "ANGLE (Apple, Apple M1 Max, OpenGL 4.1)", vendor: 4203, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Gl }
chrome, firefox, safari
What you did
(with wasm-server-runner)
cargo run --example 3d_scene --target=wasm32-unknown-unknown
Open javascript console, click canvas, observe error message
What went wrong
ERROR crates/bevy_winit/src/system.rs:182 could not set cursor position: NotSupported(NotSupportedError)
Additional information
This seems sort of harmless, but is very strange.
Doesn't happen in native builds on MacOS, but it seems worth testing other platforms.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-InputPlayer input via keyboard, mouse, gamepad, and morePlayer input via keyboard, mouse, gamepad, and moreC-BugAn unexpected or incorrect behaviorAn unexpected or incorrect behaviorO-WebSpecific to web (WASM) buildsSpecific to web (WASM) builds