perf(reply-modal): fix laggy dragging during post loading with GPU-accelerated gestures

This commit is contained in:
Tom (plebeius.eth)
2025-03-01 11:48:56 +01:00
parent d4b1699469
commit 0caa8f9e70
4 changed files with 99 additions and 18 deletions
@@ -1,7 +1,5 @@
.container {
position: fixed;
top: calc(50% - 150px);
left: calc(50% - 150px);
display: block;
padding: 2px;
font-size: 10pt;
@@ -10,6 +8,9 @@
z-index: 3;
background-color: var(--challenge-modal-background-color);
border: var(--challenge-modal-border);
will-change: transform;
backface-visibility: hidden;
-webkit-backface-visibility: hidden;
}
.title {
@@ -24,6 +25,9 @@
background-color: var(--challenge-modal-title-background-color);
color: var(--challenge-modal-title-text-color);
border: var(--challenge-modal-title-border);
user-select: none;
-webkit-user-select: none;
touch-action: none;
}
.closeIcon {