Skip to content

Commit 750e0a8

Browse files
committed
Added extra information to demo website
1 parent fa09cb6 commit 750e0a8

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

website/src/pages/demo.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,12 @@ const Demo: React.FC = () => {
8484
</li>
8585
<li>Pressing escape will close the menu and return the focus to the button</li>
8686
<li>
87-
Pressing enter will activate that item and close the menu (whether it’s a link or has a click
88-
handler attached)
87+
Pressing enter or space will activate that item and close the menu (whether it’s a link or has a
88+
click handler attached)
89+
</li>
90+
<li>
91+
Pressing any other character will move to the first menu item that starts with that character,
92+
if there is not a matching item, focus remains the same.
8993
</li>
9094
</ul>
9195
</li>

0 commit comments

Comments
 (0)