mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-24 18:36:51 +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) {
|
if (props.hideOnClickOutside) {
|
||||||
useClickAway(root, onClose, { eventName: 'touchstart' });
|
useClickAway(root, onBlur, { eventName: 'touchstart' });
|
||||||
}
|
}
|
||||||
|
|
||||||
return () => {
|
return () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user