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 events with a text node target #1322

Merged
merged 2 commits into from
Sep 16, 2023

Conversation

ealmloff
Copy link
Member

@ealmloff ealmloff commented Aug 8, 2023

The interpreter code assumed that the target was an element node, but some events can be triggered on text nodes. This PR checks that the target is a element node before reading attributes

Fixes #1317

@ealmloff ealmloff added bug Something isn't working desktop Suggestions related to the desktop renderer labels Aug 8, 2023
@samu698
Copy link

samu698 commented Sep 10, 2023

Hello, It's been a month since this PR and my issue are open, how long will it take before it will be merged, is there something you are waiting on? Or there are problems with the PR?
Thank you

@ealmloff ealmloff closed this Sep 10, 2023
@ealmloff ealmloff reopened this Sep 10, 2023
@ealmloff
Copy link
Member Author

I'm just waiting on a review, as far as I know this works. If you would like to use this fix before the PR is merged you can change your dependency to:

dioxus = { git = "https://github.com/ealmloff/dioxus", branch = "fix-text-node-target-events" }
dioxus-web = { git = "https://github.com/ealmloff/dioxus", branch = "fix-text-node-target-events" }

@jkelleyrtp
Copy link
Member

Hello, It's been a month since this PR and my issue are open, how long will it take before it will be merged, is there something you are waiting on? Or there are problems with the PR?
Thank you

Just busy on the administrative side of things! Big push for PRs and patch releases today.

@jkelleyrtp jkelleyrtp merged commit 73169e3 into DioxusLabs:master Sep 16, 2023
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working desktop Suggestions related to the desktop renderer
Projects
None yet
3 participants