Open the Share access menu above the dialog so both options can be picked.
The listbox was clipped inside the sheet, sat at 24px, and ignored arrow keys, so Anyone with the link could not be chosen by mouse or touch.
This commit is contained in:
1 parent
2dfc365dbd
commit
3a264ac2df
9 files changed
+264
-56
No files matched your search
@@ -11,6 +11,7 @@ export const SelectOptionView = forwardRef<
|
||||
selected,
|
||||
disabled,
|
||||
itemClasses,
|
||||
optionId,
|
||||
handleClick,
|
||||
handleKeyDown,
|
||||
...props
|
||||
@@ -20,9 +21,10 @@ export const SelectOptionView = forwardRef<
|
||||
return (
|
||||
<div
|
||||
ref={ref}
|
||||
id={optionId}
|
||||
className={itemClasses}
|
||||
role="option"
|
||||
tabIndex={disabled ? -1 : 0}
|
||||
tabIndex={-1}
|
||||
aria-selected={selected}
|
||||
aria-disabled={disabled}
|
||||
onClick={handleClick}
|
||||
|
||||
Reference in new issue
Block a user