fix: Fix missing scrim background on LoadingOverlay#2098
fix: Fix missing scrim background on LoadingOverlay#2098vbabich merged 3 commits intodeephaven:mainfrom
Conversation
mofojed
left a comment
There was a problem hiding this comment.
I believe not having an overlay in this case was intentional - the scrim changes the colour unnecessarily of the panel if it hasn't loaded a widget yet.
What ticket are we fixing here? This is for the error covering a dashboard?
This is for DH-16180 where I need a spinner with an overlay while the panel content is updating. This displays the spinner without the overlay, then on the fade-out the black overlay is shown for a split second, so there's a bit of a flicker. I guess the right usage should be just For my use case, Don suggested adding a background-colored overlay immediately with no fade-in, and do a quick fade-out when loaded. I'm going to update the PR to parameterize background color, fade-in, and fade-out duration. |
|
Still, I think flickering the overlay when we change |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2098 +/- ##
==========================================
+ Coverage 46.59% 46.63% +0.03%
==========================================
Files 679 682 +3
Lines 38598 38443 -155
Branches 9779 9580 -199
==========================================
- Hits 17986 17928 -58
+ Misses 20560 20505 -55
+ Partials 52 10 -42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Background class wasn't applied when LoadingOverlay has error or is loading