MudFocusTrap: How to get the focus change after an action? #8918
Answered
by
Anu6is
hafiziezakaria
asked this question in
Q&A
-
Hi all, I need help with MudFocusTrap. My project required scanning process to minimize the keyboard & mouse usage. How can I make the focus return back to some element after a For example when the scanning process is succeed, the focus will move to the next text field or when it failed the focus return back to the first text field vice versa. Here is the reproduced link for you guys. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
Anu6is
May 8, 2024
Replies: 1 comment
-
You can use |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hafiziezakaria
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
FocusAsync
to set the focus - https://try.mudblazor.com/snippet/mEcSaJkieIiZStnC