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 later-attached wry event handlers not getting called #3908

Merged
merged 1 commit into from
Mar 27, 2025

Conversation

MintSoup
Copy link
Contributor

Fixes #3907.

The issue is caused by a simple logic error: instead of aborting the entire loop when we find a window that doesn't match our id, we should just skip the current iteration.

Copy link
Member

@jkelleyrtp jkelleyrtp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you!

@jkelleyrtp jkelleyrtp merged commit dc0f0db into DioxusLabs:main Mar 27, 2025
@mcmah309 mcmah309 mentioned this pull request Mar 30, 2025
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.

Only the earliest attached wry event handler ever gets called
2 participants