I have a form in a window and I make a server call to validate it. When I get my error result back from the server, I focus the field and then show a toast message.

The problem is that when the toast slides out, my field un-focuses.


Im using Ext 5.0.2-2.1424


Is this a bug?



Code:




Ext.toast({
title: 'Username Taken',
html: 'The username is already in use. Please try again.',
align: 't',
bodyPadding: 10,
alwaysOnTop: true
});
this.lookupReference('usernameField').focus();