Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bubble change event up to other element #547

Merged
merged 1 commit into from
Jun 4, 2024

Conversation

frenkel
Copy link
Contributor

@frenkel frenkel commented May 22, 2024

Fixes #524.

@brianvoe
Copy link
Owner

I dont disagree with this. I just dont know the full ramifications. Can you add a test for it that covers a use case your trying to accomplish please?

@frenkel
Copy link
Contributor Author

frenkel commented May 22, 2024

Sorry, but I've never written typescript before and I've also never run tests for it so that would take me quite some time to figure out. I might be able to in a few weeks time.

The situation that we're running into is that we have onchange listeners registered on a <form> tag and they don't receive any event from slim-select without bubbling but they do activate fine with bubbling. All other native elements fire events with bubbling.

@brianvoe brianvoe changed the base branch from master to develop June 4, 2024 13:18
@brianvoe brianvoe merged commit bfd3ade into brianvoe:develop Jun 4, 2024
@frenkel
Copy link
Contributor Author

frenkel commented Jun 17, 2024

Thanks for merging this. If you want I can try to implement tests for it this week.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The change event triggered on the original select doesn't bubble
2 participants