Teams dev - Personal tab - Focus
mEjLis
1
Reputation point
Hello there!
Is there please any option to focus the content of a tab immediately after it is opened?
I made a Blazor Server / Teams tab app for our company. In one of the tabs, after it is opened the user's keypresses are being handled from this input text component. I managed to get and kept the element focused with both JSInterop or the new #ref/FocusAsunc after each rerender, but after opening the tab, the user still needs to make the first mouseclick anywhere on the tab content for the focus to work stealing focus from the main Teams application.
Thank You!