Skip to content

feat: Add clickOutside prop to Modal#2214

Merged
mattrunyon merged 1 commit intodeephaven:mainfrom
mattrunyon:modal-click-outside-disable
Sep 9, 2024
Merged

feat: Add clickOutside prop to Modal#2214
mattrunyon merged 1 commit intodeephaven:mainfrom
mattrunyon:modal-click-outside-disable

Conversation

@mattrunyon
Copy link
Copy Markdown
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
@codecov
Copy link
Copy Markdown

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
@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