new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Mantine · all subjects

menu/keyboard

3 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

Type-ahead navigation in Menu

When focus is inside the dropdown and Menu.Search is not used, pressing a printable character key moves focus to the next menu item whose label starts with the typed character. Pressing the same character again cycles through items that start with it. Multiple characters typed in quick succession (within 500ms) match items whose labels start with the full typed string. Disabled items are skipped.

Menu keyboard interactions

Escape key: closes dropdown (focus within dropdown). Space/Enter: opens/closes dropdown (focus on target element). ArrowUp: moves focus to previous menu item (focus within dropdown). ArrowDown: moves focus to next menu item (focus within dropdown). Home: moves focus to first menu item (focus within dropdown). End: moves focus to last menu item (focus within dropdown). ArrowUp/ArrowDown: moves highlight to previous/next menu item without leaving the input (focus on Menu.Search). Enter: triggers the highlighted item (focus on Menu.Search). Printable character: moves focus to the next item whose label starts with the typed character, cycles through matches on repeat, multiple characters within 500ms match items starting with the typed string (focus within dropdown, no Menu.Search).

Menu menuItemTabIndex prop for Tab navigation

To support Tab and Shift + Tab keyboard navigation in a Menu, set menuItemTabIndex={0}.

Give your agent this brain