update components
This commit is contained in:
parent
20a9c83bf6
commit
308b423658
5 changed files with 21 additions and 15 deletions
|
@ -51,8 +51,12 @@ define(['viewcontainer', 'focusManager', 'queryString', 'connectionManager', 'ev
|
|||
focusManager.autoFocus(view);
|
||||
}
|
||||
}
|
||||
else if (view.activeElement) {
|
||||
view.activeElement.focus();
|
||||
else {
|
||||
if (view.activeElement && document.body.contains(view.activeElement) && focusManager.isCurrentlyFocusable(view.activeElement)) {
|
||||
focusManager.focus(view.activeElement);
|
||||
} else {
|
||||
focusManager.autoFocus(view);
|
||||
}
|
||||
}
|
||||
|
||||
view.dispatchEvent(new CustomEvent('viewshow', eventDetail));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue