mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
fix(NumberKeyboard): should not emit close event when click away (#9108)
This commit is contained in:
parent
44504c9ab6
commit
09ce8e232c
@ -251,7 +251,7 @@ export default defineComponent({
|
||||
);
|
||||
|
||||
if (props.hideOnClickOutside) {
|
||||
useClickAway(root, onClose, { eventName: 'touchstart' });
|
||||
useClickAway(root, onBlur, { eventName: 'touchstart' });
|
||||
}
|
||||
|
||||
return () => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user