Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: remove space handler as its no longer needed (#42620)

Ali Waseem6fe4d0cc14a7
diff --git a/packages/ui-patterns/src/FilterBar/useKeyboardNavigation.ts b/packages/ui-patterns/src/FilterBar/useKeyboardNavigation.ts
index ded9d9343be..ca495b358f4 100644
--- a/packages/ui-patterns/src/FilterBar/useKeyboardNavigation.ts
+++ b/packages/ui-patterns/src/FilterBar/useKeyboardNavigation.ts
@@ -255,9 +255,6 @@ export function useKeyboardNavigation({
(e: KeyboardEvent<HTMLInputElement>) => {
if (e.key === 'Backspace') {
handleBackspace(e)
- } else if (e.key === ' ' && activeInput?.type === 'value') {
- e.preventDefault()
- setActiveInput({ type: 'group', path: [] })
} else if (e.key === 'ArrowLeft') {
handleArrowLeft(e)
} else if (e.key === 'ArrowRight') {