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: ModalPicker button onClick propagation #706

Merged
merged 1 commit into from
Feb 1, 2024

Conversation

gidomanders
Copy link
Member

When the button in ModalPicker components is clicked, the event is propagated, causing parent elements onClick to trigger as well.

Added event preventDefault to ModalPicker components.

When the button in ModalPicker components is clicked, the event is
propagated, causing parent elements onClick to trigger as well.

Added event preventDefault to ModalPicker components.
Copy link

codecov bot commented Feb 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (8ad8f7d) 100.00% compared to head (9935009) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #706   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          131       131           
  Lines         2781      2783    +2     
  Branches       824       824           
=========================================
+ Hits          2781      2783    +2     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@gidomanders gidomanders merged commit be2b14f into master Feb 1, 2024
7 checks passed
@gidomanders gidomanders deleted the fix/modalpicker-button-onclick-propagation branch February 1, 2024 11:57
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.

None yet

1 participant