fix(number-keyboard): fix hide-on-click-outside prop not working (#7668)
fix #7667 Co-authored-by: 严畅 <yanchang@segimail.com>
This commit is contained in:
@@ -223,7 +223,9 @@ export default createComponent({
|
||||
}
|
||||
);
|
||||
|
||||
useClickAway(root, onClose, { eventName: 'touchstart' });
|
||||
if (props.hideOnClickOutside) {
|
||||
useClickAway(root, onClose, { eventName: 'touchstart' });
|
||||
}
|
||||
|
||||
return () => {
|
||||
const Title = renderTitle();
|
||||
|
||||
Reference in New Issue
Block a user