-
-
Couldn't load subscription status.
- Fork 736
Open
Description
Ebitengine Version
2.8.8
Operating System
- Windows
- macOS
- Linux
- FreeBSD
- OpenBSD
- Android
- iOS
- Nintendo Switch
- PlayStation 5
- Xbox
- Web Browsers
Go Version (go version)
1.24.0
What steps will reproduce the problem?
When moving to a different tab on Chrome ebiten.IsFocused() will often continue to return true.
What is the expected result?
ebiten.IsFocused() should properly change value when changing tabs (including CTRL+TAB, CTRL+Prev/NextPage and similar shortcuts).
What happens instead?
Sometimes manually opening a new tab will detect the focus change, but in most cases the focus change won't be detected. Waiting doesn't seem to help.
Anything else you feel useful to add?
On Firefox this seems to work properly, consistently.