Add separate dialog to notebook charts for specifying chart options. (#9454) (#9575)

Co-authored-by: Cory Rivera <corivera@microsoft.com>
This commit is contained in:
Chris LaFreniere
2020-03-12 00:30:01 -07:00
committed by GitHub
parent 9c14910c55
commit d87eebd6a5
12 changed files with 150 additions and 20 deletions

View File

@@ -339,7 +339,7 @@ export abstract class Modal extends Disposable implements IThemable {
// Try to find focusable element in dialog pane rather than overall container. _modalBodySection contains items in the pane for a wizard.
// This ensures that we are setting the focus on a useful element in the form when possible.
const focusableElements = this._modalBodySection ?
this._modalBodySection.querySelectorAll('input') :
this._modalBodySection.querySelectorAll(tabbableElementsQuerySelector) :
this._bodyContainer.querySelectorAll(tabbableElementsQuerySelector);
this._focusedElementBeforeOpen = <HTMLElement>document.activeElement;