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

Add is_target to Click event #913

Merged
merged 2 commits into from
Sep 1, 2024
Merged

Conversation

richard-to
Copy link
Collaborator

Usage of is_target mainly works for me.box.

For me.button / me.content_button it will almost always be false since the buttons are composed of other sub elements. There may be cases where it is true.

Updated dialog usages to utilize is_target.

Closes #268

Usage of is_target mainly works for me.box.

For me.button / me.content_button it will almost always be false since
the buttons are composed of other sub elements. There may be cases where
it is true.

Updated dialog usages to utilize `is_target`.

Closes google#268
mesop/events/events.py Outdated Show resolved Hide resolved
@richard-to richard-to merged commit d22087d into google:main Sep 1, 2024
5 checks passed
@richard-to richard-to deleted the is_target branch September 28, 2024 18:24
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.

Dealing with event handler bubbling
2 participants