mirror of
https://github.com/microsoft/vscode.git
synced 2026-08-06 13:39:23 +01:00
fixes #52601
This commit is contained in:
@@ -220,7 +220,7 @@ export class ViewItem implements IViewItem {
|
||||
this.element.removeAttribute('id');
|
||||
}
|
||||
if (this.model.hasChildren()) {
|
||||
this.element.setAttribute('aria-expanded', String(!!this.model.isExpanded()));
|
||||
this.element.setAttribute('aria-expanded', String(!!this._styles['expanded']));
|
||||
} else {
|
||||
this.element.removeAttribute('aria-expanded');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user