Prevent vim hotkeys from activating tree in sidebar filter

This commit is contained in:
Gregory Schier
2025-10-29 14:59:13 -07:00
parent 7a7940d365
commit efbb90dd60

View File

@@ -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();