Skip to content

Commit

Permalink
fix: table custom filterIcon emit sort event #3819
Browse files Browse the repository at this point in the history
  • Loading branch information
tangjinzhou committed Mar 20, 2021
1 parent 75c4368 commit b72a414
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion components/table/filterDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,11 @@ export default defineComponent({
class: classNames(`${prefixCls}-icon`, dropdownIconClass, filterIcon.props?.class),
});
}
return <span class={classNames(`${prefixCls}-icon`, dropdownIconClass)}>{filterIcon}</span>;
return (
<span class={classNames(`${prefixCls}-icon`, dropdownIconClass)} onClick={stopPropagation}>
{filterIcon}
</span>
);
},

renderMenuItem(item) {
Expand Down
2 changes: 1 addition & 1 deletion v2-doc
Submodule v2-doc updated 0 files

0 comments on commit b72a414

Please sign in to comment.