mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Fix expanded state announce for dialog headers (#16499)
* Fix expanded state announce for dialog headers * update comment
This commit is contained in:
@@ -25,6 +25,8 @@ import { ILogService } from 'vs/platform/log/common/log';
|
||||
<div *ngIf="hasHeader()" [class]="getHeaderClass()" (click)="changeState()" (keydown)="onKeyDown($event)" [tabindex]="isCollapsible()? 0 : -1" [attr.role]="isCollapsible() ? 'button' : null" [attr.aria-expanded]="isCollapsible() ? !collapsed : null">
|
||||
{{_containerLayout.header}}
|
||||
</div>
|
||||
<!-- This extra div is needed so that the expanded state of the header is updated correctly. See https://github.com/microsoft/azuredatastudio/pull/16499 for more details -->
|
||||
<div>
|
||||
<div #container *ngIf="items" class="modelview-group-container" [ngStyle]="CSSStyles">
|
||||
<ng-container *ngFor="let item of items">
|
||||
<div class="modelview-group-row" >
|
||||
@@ -35,6 +37,7 @@ import { ILogService } from 'vs/platform/log/common/log';
|
||||
</div>
|
||||
</ng-container>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
})
|
||||
export default class GroupContainer extends ContainerBase<GroupLayout, GroupContainerProperties> implements IComponent, OnDestroy, AfterViewInit {
|
||||
|
||||
Reference in New Issue
Block a user