Merge pull request #3869 from pyramidsbuilder/fix-loginpage-focus-for-ws
handle focus error on blazor web assembly when verifying email address
This commit is contained in:
commit
c80c212a54
|
@ -166,6 +166,7 @@
|
||||||
{
|
{
|
||||||
if (firstRender && PageState.User == null && _allowsitelogin)
|
if (firstRender && PageState.User == null && _allowsitelogin)
|
||||||
{
|
{
|
||||||
|
if(!string.IsNullOrEmpty(username.Id))
|
||||||
await username.FocusAsync();
|
await username.FocusAsync();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user