Keyboard Navigation

The keyboard navigation of the Dialog is always available.

When the Dialog is opened, the initial focus is set on the primary button. This approach enables the user to immediately select or navigate between the action buttons by using the Left and Right arrow keys, and to close the Dialog with the Esc button.

SHORTCUTDESCRIPTION
EscCloses the Dialog.
Left ArrowMoves the focus to the previous action button.
Right ArrowMoves the focus to the next action button.
Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?