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

feat: Add clickOutside prop to Modal #2214

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

mattrunyon
Copy link
Collaborator

For the Ruff settings editor, I wanted to close the modal when pressing escape, but not clicking outside. Turns out this wasn't possible with our previous modal component.

@mattrunyon mattrunyon requested a review from a team September 9, 2024 19:26
@mattrunyon mattrunyon self-assigned this Sep 9, 2024
@mattrunyon mattrunyon requested review from dgodinez-dh and removed request for a team September 9, 2024 19:26
Copy link

codecov bot commented Sep 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.75%. Comparing base (7331976) to head (66588b4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2214   +/-   ##
=======================================
  Coverage   46.75%   46.75%           
=======================================
  Files         694      694           
  Lines       38637    38639    +2     
  Branches     9846     9785   -61     
=======================================
+ Hits        18063    18065    +2     
  Misses      20521    20521           
  Partials       53       53           
Flag Coverage Δ
unit 46.75% <100.00%> (+<0.01%) ⬆️

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.

@mattrunyon mattrunyon merged commit d78ad6d into deephaven:main Sep 9, 2024
11 checks passed
@mattrunyon mattrunyon deleted the modal-click-outside-disable branch September 9, 2024 19:40
@github-actions github-actions bot locked and limited conversation to collaborators Sep 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants