We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af4b13d commit 3c8a6e8Copy full SHA for 3c8a6e8
packages/table/src/table-header.js
@@ -325,7 +325,8 @@ export default {
325
handleFilterClick(event, column) {
326
event.stopPropagation();
327
const target = event.target;
328
- const cell = target.parentNode;
+ let cell = target.tagName === 'TH' ? target : target.parentNode;
329
+ cell = cell.querySelector('.el-table__column-filter-trigger') || cell;
330
const table = this.$parent;
331
332
let filterPanel = this.filterPanels[column.id];
0 commit comments