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: DH-17454: Fix Spectrum component theming in modal dialogs #2197

Merged
merged 2 commits into from
Aug 20, 2024

Conversation

vbabich
Copy link
Collaborator

@vbabich vbabich commented Aug 20, 2024

Cherry-pick #2173 and #2169 from v0.88

Wrap the `Modal` component attached to `document.body` in
`SpectrumThemeProvider`.

Had to add `zIndex: 0` and `position: relative` to the
`SpectrumThemeProvider` to fix the issue with `DatePicker` popovers
nested in the `Modal` rendering behind it.

![Screenshot 2024-07-23 at 4 35
35 PM](https://github.com/user-attachments/assets/1a860697-f4dd-4565-bf0e-6269f24a8723)
@vbabich vbabich self-assigned this Aug 20, 2024
@vbabich vbabich requested a review from mofojed August 20, 2024 18:37
Copy link

codecov bot commented Aug 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.61%. Comparing base (27c92bd) to head (6610162).
Report is 1 commits behind head on release/v0.85.

Additional details and impacted files
@@                Coverage Diff                @@
##           release/v0.85    #2197      +/-   ##
=================================================
- Coverage          46.62%   46.61%   -0.01%     
=================================================
  Files                685      685              
  Lines              38494    38491       -3     
  Branches            9593     9713     +120     
=================================================
- Hits               17947    17944       -3     
+ Misses             20537    20495      -42     
- Partials              10       52      +42     
Flag Coverage Δ
unit 46.61% <ø> (-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.

@vbabich vbabich merged commit 478ca85 into deephaven:release/v0.85 Aug 20, 2024
11 checks passed
@vbabich vbabich deleted the cherry_pick_DH-17454 branch August 20, 2024 19:34
@github-actions github-actions bot locked and limited conversation to collaborators Aug 20, 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