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