Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Pressed" detection bugged after unfocusing in game in WASM #12472

Open
newclarityex opened this issue Mar 14, 2024 · 0 comments
Open

"Pressed" detection bugged after unfocusing in game in WASM #12472

newclarityex opened this issue Mar 14, 2024 · 0 comments
Labels
A-Input Player input via keyboard, mouse, gamepad, and more C-Bug An unexpected or incorrect behavior O-Web Specific to web (WASM) builds

Comments

@newclarityex
Copy link

newclarityex commented Mar 14, 2024

Bevy version

0.13

[Optional] Relevant system information

  • Windows 10
  • Firefox
  • Chrome

What you did

I held down a button then unfocused the window.

What went wrong

The button remained held down according to ButtonInput "pressed" even when I released it. Refocusing the window does not fix this, but refocusing then pressing and releasing does.

Additional information

Tested in both Firefox and Chrome with similar behaviors.

@newclarityex newclarityex added C-Bug An unexpected or incorrect behavior S-Needs-Triage This issue needs to be labelled labels Mar 14, 2024
@james7132 james7132 added A-Input Player input via keyboard, mouse, gamepad, and more O-Web Specific to web (WASM) builds and removed S-Needs-Triage This issue needs to be labelled labels Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Input Player input via keyboard, mouse, gamepad, and more C-Bug An unexpected or incorrect behavior O-Web Specific to web (WASM) builds
Projects
None yet
Development

No branches or pull requests

2 participants