You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you stop touching it, the displayed text should return to displaying "Button".
What actually happened
When you stop touching it, the button continues to display "Press", as if you never stopped touching it.
Additional information
I think this is making it impossible to properly touch buttons with bevy_egui on WASM. I first noticed the problem when touching the buttons on this example had no effect, although it does seem to register hover events: https://mvlabat.github.io/bevy_egui_web_showcase/index.html
The text was updated successfully, but these errors were encountered:
On platforms like wasm (on mobile) the cursor can disappear suddenly (ex: the user releases their finger from the screen). This causes the undesirable behavior in #3752. These changes make the UI handler properly handle this case.
Fixes#3752
Alternative to #3599
Bevy version
Whichever version is used for the site: I think
main
, currently 514754d.Operating system & version
Firefox on Windows, Chrome on Windows, Firefox on iOS.
What you did
Go here on a device with a touch screen: https://bevyengine.org/examples/ui/button/.
Touch the button then stop touching it.
What you expected to happen
When you stop touching it, the displayed text should return to displaying "Button".
What actually happened
When you stop touching it, the button continues to display "Press", as if you never stopped touching it.
Additional information
I think this is making it impossible to properly touch buttons with
bevy_egui
on WASM. I first noticed the problem when touching the buttons on this example had no effect, although it does seem to register hover events: https://mvlabat.github.io/bevy_egui_web_showcase/index.htmlThe text was updated successfully, but these errors were encountered: