There was an error while loading. Please reload this page.
2 parents 95160d4 + 4473469 commit 325718cCopy full SHA for 325718c
1 file changed
packages/omniviewdev-ui/src/inputs/Select.tsx
@@ -112,6 +112,15 @@ export default function Select({
112
return;
113
}
114
115
+ if (e.key === "Tab") {
116
+ e.preventDefault();
117
+ e.stopPropagation();
118
+ if (filteredOptions.length === 0) return;
119
+ const next = focusedIndex + 1;
120
+ setFocusedIndex(next >= filteredOptions.length ? 0 : next);
121
+ return;
122
+ }
123
+
124
if (
125
e.key === "Enter" &&
126
focusedIndex >= 0 &&
0 commit comments