Bug/keyboard issue in manange linked account (#1400)

* add message and add account button when the linked account is empty

* fix account dialog tests

* address comment
This commit is contained in:
Abbie Petchtes
2018-05-14 11:25:13 -07:00
committed by GitHub
parent 3aaf8a24bf
commit 6b549696c5
4 changed files with 139 additions and 40 deletions

View File

@@ -67,6 +67,10 @@ export class FixedListView<T> extends CollapsibleView {
this.setFixed(this.fixedSize);
}
public get list(): List<T> {
return this._list;
}
public listContentHeight(): number {
return this._list.contentHeight;
}
@@ -86,6 +90,9 @@ export class FixedListView<T> extends CollapsibleView {
protected changeState(state: CollapsibleState): void {
super.changeState(state);
this.setFixed(this.fixedSize);
if (this.list) {
this.list.getHTMLElement().hidden = (state === CollapsibleState.COLLAPSED);
}
}
/**