mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-20 12:58:46 +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;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(typeof document.activeElement?.blur == "function")
|
||||||
|
{
|
||||||
|
document.activeElement?.blur();
|
||||||
|
}
|
||||||
this.removeOpenListeners();
|
this.removeOpenListeners();
|
||||||
this._completeResolver([this._button_id, this.value]);
|
this._completeResolver([this._button_id, this.value]);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user