New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOS page-router-outlet issue after modal close #1532

Open
mahavirvataliya opened this Issue Oct 1, 2018 · 1 comment

Comments

Projects
None yet
3 participants
@mahavirvataliya
Copy link

mahavirvataliya commented Oct 1, 2018

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

@manojdcoder

This comment has been minimized.

Copy link

manojdcoder commented Oct 1, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment