2
0

fix: Fix glitchy iOS media attachment drag interactions (#35057)

This commit is contained in:
diondiondion
2025-06-16 17:37:04 +02:00
committed by GitHub
parent af6ee7f230
commit 69f298731e
3 changed files with 51 additions and 38 deletions

View File

@@ -708,7 +708,12 @@ body > [data-popper-placement] {
&__upload {
position: relative;
cursor: grab;
&.draggable {
will-change: transform, opacity;
touch-action: none;
cursor: grab;
}
&.dragging {
opacity: 0;
@@ -720,18 +725,6 @@ body > [data-popper-placement] {
pointer-events: none;
}
&__drag-handle {
position: absolute;
top: 50%;
inset-inline-start: 0;
transform: translateY(-50%);
color: $white;
background: transparent;
border: 0;
padding: 8px 3px;
cursor: grab;
}
&__actions {
display: flex;
align-items: flex-start;