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

Fix missing previously_focused_id which broke on-window-focus-leave handler #54

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

johnae
Copy link
Owner

@johnae johnae commented Apr 11, 2023

Basically, on-window-focus-leave wouldn't actually work. Not sure this is the way I want to fix this.

This happens in v 0.6.x because the event handlers are stateless but this assumes some state. There's a better way here I'm sure.

@johnae johnae changed the title Fix missing previously_focused_id Fix missing previously_focused_id which broke on-window-focus-leave handler Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant