fix: Fix glitchy iOS media attachment drag interactions (#35057)
This commit is contained in:
parent
af6ee7f230
commit
69f298731e
3 changed files with 51 additions and 38 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue