Nativescript-angular: IOS page-router-outlet issue after modal close

Created on 1 Oct 2018  路  1Comment  路  Source: NativeScript/nativescript-angular

Which platform(s) does your issue occur on?

  • iOS
  • simulator and device. In both

Please, provide the following version numbers that your issue occurs with:

Here is code

when we add code with <page-router-outlet></page-router-outlet>
and with using modal after closing modal it make height of to full rather it shuld be *

<StackLayout> <GridLayout [rows]="'*,auto'" columns="*"> <StackLayout> <page-router-outlet></page-router-outlet> </StackLayout> <StackLayout row="1" > <Tabs></Tabs> </StackLayout> </GridLayout> </StackLayout>

https://play.nativescript.org/?template=play-ng&id=OjBpET&v=9

ezgif com-optimize 1

backlog bug ios

Most helpful comment

The above issue happens only in iOS, when the view container ref is not a root view / a page from root frame.

Passing the view container ref injected via app component resolves the scroll issue for now.
https://play.nativescript.org/?template=play-ng&id=OjBpET&v=10

>All comments

The above issue happens only in iOS, when the view container ref is not a root view / a page from root frame.

Passing the view container ref injected via app component resolves the scroll issue for now.
https://play.nativescript.org/?template=play-ng&id=OjBpET&v=10

Was this page helpful?
0 / 5 - 0 ratings