diff --git a/lib/pick/src/components/pick.tsx b/lib/pick/src/components/pick.tsx index 45e3677683..04cf2e556b 100644 --- a/lib/pick/src/components/pick.tsx +++ b/lib/pick/src/components/pick.tsx @@ -194,9 +194,9 @@ export class Pick = Pi protected _handlePopToggle(opened: boolean) { const {onPopShown, onPopHidden} = this.props; if (opened && onPopShown) { - onPopShown(); + onPopShown.call(this); } else if (!opened && onPopHidden) { - onPopHidden(); + onPopHidden.call(this); } } @@ -222,9 +222,9 @@ export class Pick = Pi } const {onPopShow, onPopHide} = this.props; if (nextOpened && onPopShow) { - onPopShow(); + onPopShow.call(this); } else if (!nextOpened && onPopHide) { - onPopHide(); + onPopHide.call(this); } }