Fix IE autoscroll drop triggering issue
Add overlay (css ::before generated content) while dragging to prevent IE to trigger `drop` event while autoscrolling
This commit is contained in:
parent
ad4e57e600
commit
e1ff382041
1 changed files with 11 additions and 0 deletions
|
|
@ -31,6 +31,17 @@
|
||||||
cursor: default !important;
|
cursor: default !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ace_dragging .ace_scroller:before{
|
||||||
|
position: absolute;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
bottom: 0;
|
||||||
|
content: '';
|
||||||
|
background: rgba(0, 0, 0, 0.01);
|
||||||
|
z-index: 1000;
|
||||||
|
}
|
||||||
|
|
||||||
.ace_selecting, .ace_selecting * {
|
.ace_selecting, .ace_selecting * {
|
||||||
cursor: text !important;
|
cursor: text !important;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue