Open kmmccafferty96 opened 4 years ago
I posted this on Stack Overflow and received an answer with a workaround: https://stackoverflow.com/a/60354350/5117599.
Hope this issue will be addressed at some point. Thank you for posting!
Hi, any news on this issue? thanks!
any update on this?
Please, provide the details below:
When using the RadSideDrawer with a page-router-outlet in the tkMainContent, it seems that the page-router-outlet will always fill 100% of the height on iOS, even when other elements are underneath . On Android, it works fine. The reason I'm running into this issue is because I'm trying to add a BottomNavigationBar (nativescript-material-bottomnavigationbar) below my router outlet. If I remove the page-router-outlet and put anything in it's place, it will then function correctly on iOS. Also, if I leave the page-router-outlet and remove the RadSideDrawer, it also functions correctly.
It seems as if this issue is somewhat similar to an old issue that was marked as closed and fixed (https://github.com/NativeScript/nativescript-ui-feedback/issues/852a), but it's still not working.
EDIT: It seems as if this issue only occurs when there are two page-router-outlets nested as in this sample playground: https://play.nativescript.org/?template=play-ng&id=Z2a5Z7
Maybe page-router-outlets aren't supposed to be nested then? Right now I have a page-router-outlet in my app.component that lazy loads and switches between a login.component and my main app pages.component. pages.component contains the RadSideDrawer and the other page-router-outlet. I did this so I can lazy load my authorization pages and regular app content pages. Is this wrong?
Tell us about the problem
Page-router-outlet always taking up 100% height on iOS with RadSideDrawer
Which platform(s) does your issue occur on?
iPhone 11 running iOS 13.3
Please provide the following version numbers that your issue occurs with:
Please tell us how to recreate the issue in as much detail as possible.
Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.
Here is my template:
Screenshots
iOS
Android