解决ie11中拖拽问题

This commit is contained in:
“jonyshi” 2018-12-06 18:33:01 +08:00
parent a6f9f561f3
commit 034d67da29
2 changed files with 12 additions and 1 deletions

View File

@ -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;

View File

@ -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) => {