🎉 Improve viewer performance degradation because of fixed position

This commit is contained in:
Alejandro Alonso 2022-09-05 11:56:51 +02:00
parent f736ec813e
commit 108cdcecbb
7 changed files with 91 additions and 85 deletions

View file

@ -171,6 +171,20 @@
}
.viewport-container {
clip-path: inset(0 0 0 0);
grid-column: 1 / 1;
grid-row: 1 / 1;
.not-fixed {
position: absolute;
}
.fixed {
position: fixed;
pointer-events: none;
.frame-children g {
pointer-events: auto;
}
}
}