Skip to content

Commit

Permalink
Table: prevent click handler after drag (ElemeFE#16850)
Browse files Browse the repository at this point in the history
  • Loading branch information
ziyoung authored and lzq4047 committed May 22, 2020
1 parent 2f8be46 commit 0b49dff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/table/src/table-header.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ export default {
event.stopPropagation();
const target = event.target;
let cell = target.tagName === 'TH' ? target : target.parentNode;
if (hasClass(cell, 'noclick')) return;
cell = cell.querySelector('.el-table__column-filter-trigger') || cell;
const table = this.$parent;

Expand Down

0 comments on commit 0b49dff

Please sign in to comment.