These are chat archives for angular/angular-2-ionic-2

26th
Aug 2017
reliy0n
@reliy0n
Aug 26 2017 21:09
Hello guys
Canislupax
@Canislupax
Aug 26 2017 22:44
hi all: this.app.getRootNavs()[0]; and this.app.getRootNavById("n4"); are the same objects in console.log but i can call popToRoot() only on this.app.getRootNavs()[0]
i want to avoid that...
popToRoot is not a func of NavigationContainer
but with this.app.getRootNavs()[0] i also get a NavigationContainer and i can call this
Max Goh
@MaxGoh
Aug 26 2017 22:53
Hi guys, how can I scroll to the bottom of the content after opening up the keyboard?
Canislupax
@Canislupax
Aug 26 2017 23:09
solution for my problem: var root: any = this.app.getRootNavById("n4"); then i can call root.popToRoot();
otherwise this.app.getRootNavById("n4") evaluates to NavContainer