Abstract box: Use focused getter instead of :focus-within

See b4c5c5d539

Fixes #4878
This commit is contained in:
Abe Jellinek 2024-12-05 14:39:27 -05:00
parent d57392d810
commit 886dbd17ff

View file

@ -96,7 +96,7 @@
}
async blurOpenField() {
if (this._abstractField?.matches(':focus-within')) {
if (this._abstractField.focused) {
this._abstractField.blur();
await this.save();
}