Visibility Modal fixes (#35865)

This commit is contained in:
Echo 2025-08-22 14:34:37 +02:00 committed by GitHub
commit 4df50b9c7e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 64 additions and 35 deletions

View file

@ -98,13 +98,13 @@ export const DropdownSelector: React.FC<Props> = ({
break;
case 'Tab':
if (e.shiftKey) {
element =
nodeRef.current?.children[index + 1] ??
nodeRef.current?.firstElementChild;
} else {
element =
nodeRef.current?.children[index - 1] ??
nodeRef.current?.lastElementChild;
} else {
element =
nodeRef.current?.children[index + 1] ??
nodeRef.current?.firstElementChild;
}
break;
case 'Home':