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(Modal): remove unecessary stop propagation #4614

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

matthprost
Copy link
Collaborator

Summary

Type

  • Bug

Summarise concisely:

What is expected?

Remove unnecessary stop propagation on modal blocking any popup within the modal to close when clicking inside the modal itself.

Relevant logs and/or screenshots

Before:

Screen.Recording.2024-12-20.at.10.01.39.mov

After:

Screen.Recording.2024-12-20.at.10.02.40.mov

@matthprost matthprost added the bug Something isn't working label Dec 20, 2024
@matthprost matthprost self-assigned this Dec 20, 2024
@matthprost matthprost requested a review from lisalupi as a code owner December 20, 2024 09:05
Copy link

changeset-bot bot commented Dec 20, 2024

🦋 Changeset detected

Latest commit: 466039c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@ultraviolet/ui Patch
@ultraviolet/form Patch
@ultraviolet/plus Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@matthprost matthprost force-pushed the fix/remove-stop-propagation-modal branch from 121262b to badeddf Compare December 20, 2024 09:11
Copy link

codecov bot commented Dec 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 87.45%. Comparing base (8bc5a6e) to head (466039c).

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4614   +/-   ##
=======================================
  Coverage   87.45%   87.45%           
=======================================
  Files         335      335           
  Lines       12812    12813    +1     
  Branches     3534     3538    +4     
=======================================
+ Hits        11205    11206    +1     
  Misses       1607     1607           
Files with missing lines Coverage Δ
...ages/ui/src/components/Modal/components/Dialog.tsx 75.45% <100.00%> (+0.22%) ⬆️

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8bc5a6e...466039c. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants