Honor the share-link miss limit before querying, and keep Escape inside the access menu.

This commit is contained in:
adilallo committed 2026-11-21 11:56:34 -07:00
1 parent 75649a9a42
commit 1b3d055c81
8 files changed
+189 -19

No files matched your search

@@ -26,7 +26,8 @@ export interface SelectInputViewProps {
onButtonKeyDown: (_e: React.KeyboardEvent<HTMLButtonElement>) => void;
onButtonMouseDown?: () => void;
onButtonFocus?: () => void;
onButtonBlur?: () => void;
onButtonBlur?: (_event: React.FocusEvent<HTMLButtonElement>) => void;
onMenuMouseDown?: (_event: React.MouseEvent<HTMLDivElement>) => void;
onOptionClick: (_value: string, _text: string) => void;
// Refs
selectRef: React.RefObject<HTMLButtonElement>;
@@ -67,6 +68,7 @@ export function SelectInputView({
onButtonMouseDown,
onButtonFocus,
onButtonBlur,
onMenuMouseDown,
onOptionClick,
selectRef,
menuRef,
@@ -257,6 +259,7 @@ export function SelectInputView({
ref={menuRef}
className="fixed z-[10050]"
style={menuStyle}
onMouseDown={onMenuMouseDown}
>
<SelectDropdown id={listboxId} ariaLabel={selectAriaLabel}>
{optionEntries.map((option, index) => (