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 hydration for non-bubbling events #2234

Merged

Conversation

ealmloff
Copy link
Member

@ealmloff ealmloff commented Apr 3, 2024

This PR fixes hydration for non-bubbling events like the onmouseenter event in the hackernews guide. We were not correctly trimming the on prefix from events before checking if the event was bubbling in SSR which meant the default true value was always returned

@ealmloff ealmloff added bug Something isn't working fullstack related to the fullstack crate labels Apr 3, 2024
@jkelleyrtp jkelleyrtp merged commit 4d25e3f into DioxusLabs:main Apr 4, 2024
8 of 9 checks passed
@ealmloff ealmloff deleted the fix-hydration-non-bubbling-events branch April 16, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working fullstack related to the fullstack crate
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants