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
commit 69f298731e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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;