mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-11 17:46:41 -05:00
Prevent vim hotkeys from activating tree in sidebar filter
This commit is contained in:
@@ -173,6 +173,7 @@ function Sidebar({ className }: { className?: string }) {
|
||||
|
||||
const handleFilterKeyDown = useCallback(
|
||||
(e: KeyboardEvent<HTMLInputElement>) => {
|
||||
e.stopPropagation(); // Don't trigger tree navigation hotkeys
|
||||
if (e.key === 'Escape') {
|
||||
e.preventDefault();
|
||||
clearFilterText();
|
||||
|
||||
Reference in New Issue
Block a user