diff --git a/lama_cleaner/app/src/components/shared/Input.tsx b/lama_cleaner/app/src/components/shared/Input.tsx index 421987a..ba0e30e 100644 --- a/lama_cleaner/app/src/components/shared/Input.tsx +++ b/lama_cleaner/app/src/components/shared/Input.tsx @@ -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() + } }} /> )