Skip to content

Commit

Permalink
Prevents erratic rendering issues
Browse files Browse the repository at this point in the history
This occurs due to a race condition in the rendering where the scrollbars enable and disable over and over because of a slow height calculation. Giving any height number appears to close the loop by never letting the height resolve to 0

Refs #4632
  • Loading branch information
daftspunk committed Dec 7, 2019
1 parent f1b0df7 commit 1e449c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,10 @@ div[data-control="media-manager"] {
position: absolute;
left: 0;
top: 0;

// Prevents erratic rendering issues when the height is
// sometimes calculated as 0 then repeatedly redrawn
min-height: 300px;
}

.scroll-wrapper {
Expand Down

0 comments on commit 1e449c8

Please sign in to comment.