Force a new layer for backdrop panel

pull/21833/head
Dariusz Niemczyk 2021-08-24 19:23:12 +02:00
parent 4cd79e30af
commit a62717ed85
No known key found for this signature in database
GPG Key ID: 3E8DC619E3C59A05
2 changed files with 4 additions and 0 deletions

View File

@ -22,6 +22,8 @@ limitations under the License.
width: 100%;
overflow: hidden;
filter: blur(var(--lp-background-blur));
// Force a new layer for the backdropPanel so it's better hardware supported
transform: translateZ(0);
}
.mx_BackdropPanel--image {

View File

@ -26,6 +26,8 @@ $roomListCollapsedWidth: 68px;
.mx_LeftPanel_wrapper {
display: flex;
max-width: 50%;
position: relative;
// Contain the amount of layers rendered by constraining what actually needs re-layering via css
contain: layout paint;