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
gained_focus is broken in some cases. In the given example, has_focus of response becomes true in the same frame that had_focus_last_frame becomes true. Therefore gained_focus is always false.
In the provided example, the text is never printed when pressin the "Focus" button.
Screencast.From.2025-02-19.18-45-56.mp4
To Reproduce
Steps to reproduce the behavior:
Here is some code for reproduction
Describe the bug
gained_focus
is broken in some cases. In the given example,has_focus
ofresponse
becomestrue
in the same frame thathad_focus_last_frame
becomestrue
. Thereforegained_focus
is alwaysfalse
.In the provided example, the text is never printed when pressin the "Focus" button.
Screencast.From.2025-02-19.18-45-56.mp4
To Reproduce
Steps to reproduce the behavior:
Here is some code for reproduction
Expected behavior
I expect
gained_focus
to betrue
whenhas_focus
becomestrue
.Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: