fix input ctrl+z
This commit is contained in:
parent
2a94150f59
commit
bc98ea256a
@ -35,6 +35,9 @@ const TextInput = React.forwardRef<
|
||||
if (e.key === 'Escape') {
|
||||
e.currentTarget.blur()
|
||||
}
|
||||
if ((e.ctrlKey || e.metaKey) && e.key === 'z') {
|
||||
e.stopPropagation()
|
||||
}
|
||||
}}
|
||||
/>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user