mirror of
https://github.com/youzan/vant.git
synced 2025-10-24 11:10:44 +00:00
fix(NumberKeyboard): should not emit close event when click away (#9108)
This commit is contained in:
@@ -251,7 +251,7 @@ export default defineComponent({
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (props.hideOnClickOutside) {
|
if (props.hideOnClickOutside) {
|
||||||
useClickAway(root, onClose, { eventName: 'touchstart' });
|
useClickAway(root, onBlur, { eventName: 'touchstart' });
|
||||||
}
|
}
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user