Skip to content

Commit 91e0249

Browse files
committed
fix: popconfirm failure due to tooltip api changes(change to visibleChange) #34
1 parent 32d9232 commit 91e0249

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/popconfirm/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export default {
102102
},
103103
ref: 'tooltip',
104104
on: {
105-
change: this.onVisibleChange,
105+
visibleChange: this.onVisibleChange,
106106
},
107107
}
108108
const overlay = (

components/vc-slider/demo/slider.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const SliderWithTooltip = {
117117
on: {
118118
mouseenter: () => this.handleTooltipVisibleChange(index, true),
119119
mouseleave: () => this.handleTooltipVisibleChange(index, false),
120-
change: log,
120+
visibleChange: log,
121121
},
122122
style: {
123123
...handleStyleWithIndex,

0 commit comments

Comments
 (0)