fix(NumberKeyboard): should not emit close event when click away (#9108)

This commit is contained in:
neverland 2021-07-24 09:51:48 +08:00 committed by GitHub
parent 44504c9ab6
commit 09ce8e232c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -251,7 +251,7 @@ export default defineComponent({
);
if (props.hideOnClickOutside) {
useClickAway(root, onClose, { eventName: 'touchstart' });
useClickAway(root, onBlur, { eventName: 'touchstart' });
}
return () => {