解决ie11中拖拽问题
This commit is contained in:
parent
a6f9f561f3
commit
034d67da29
|
@ -294,6 +294,17 @@ $table-move-in-color: $bg-color-base;
|
|||
}
|
||||
th{
|
||||
background: $table-head-background-color;
|
||||
background-clip:padding-box;
|
||||
//禁止选中文字
|
||||
-moz-user-select: -moz-none;
|
||||
-khtml-user-select: none;
|
||||
-webkit-user-select: none;
|
||||
/*
|
||||
Introduced in IE 10.
|
||||
*/
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
// overflow: hidden;
|
||||
// white-space: nowrap;
|
||||
// text-overflow: ellipsis;
|
||||
|
|
|
@ -292,7 +292,7 @@ class TableHeader extends Component {
|
|||
event.dataTransfer.effectAllowed = "move";
|
||||
event.dataTransfer.setData("Text", currentKey);
|
||||
this.currentObj = this.props.rows[0][currentIndex];
|
||||
event.dataTransfer.setDragImage(event.target, 0, 0);
|
||||
// event.dataTransfer.setDragImage(event.target, 0, 0);
|
||||
};
|
||||
|
||||
onDragOver = (e) => {
|
||||
|
|
Loading…
Reference in New Issue