mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 04:29:28 +01:00
Blur the activeElement to avoid an aria error "decendent must not have focus"
This commit is contained in:
parent
7e75fb5f1d
commit
aea088736b
@ -502,6 +502,10 @@ export class Et2Dialog extends Et2Widget(SlDialog)
|
||||
return;
|
||||
}
|
||||
|
||||
if(typeof document.activeElement?.blur == "function")
|
||||
{
|
||||
document.activeElement?.blur();
|
||||
}
|
||||
this.removeOpenListeners();
|
||||
this._completeResolver([this._button_id, this.value]);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user