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.showModal platform inconsistancies & bugs #781
Comments
On iOS, the fullScreen=false mode is available only on iPads. iPhones ignore fullScreen=false and show the dialog on the entire screen since their displays are small and there is nothing we can do to force Apple change this. |
This comment was marked as abuse.
This comment was marked as abuse.
That is normal. When you set the height of the Layout, it becomes as high as you want. Its parent, which you don't see takes up the whole screen. |
I confirm issue 1. that in v.1.3.0 page.showModal shows a title bar on Android, but it should not. Also I confirm with reference to issue 4. that in v.1.3.0 fullScreen=false: does not work properly on Android, works as expected on iPads and is not expected to work on iPhones as @hamorphis explained. |
This comment was marked as abuse.
This comment was marked as abuse.
@NathanaelA I've fixed all issues so now it should be consistent.
Closing this issue for now. Open it if there is something I have missed. |
Workaround for 1. I created a toolbar plugin for other things but I was able to extend it to mimic a navigation bar on iOS https://github.com/rajivnarayana/nativescript-toolbar#modal-screens. Has xml just like an action bar with support for tap events on items as well. <Page xmlns="http://schemas.nativescript.org/tns.xsd"
xmlns:tools="nativescript-toolbar">
<DockLayout stretchLastChild="false">
<tools:ToolBar dock="top" barPosition="3">
<tools.ToolBar.barItems>
<tools:ToolBarItem text="Done" tap="onDoneButtonTapped" />
</tools.ToolBar.barItems>
</tools:ToolBar>
</DockLayout>
</Page> Add |
Is there a possibility to show the |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
wrapped in a or (so you have to add two or more additional elements to the layout to have a title on iOS).
5. When you pull up the keyboard on ios it covers most of a dialog; I do believe the proper behavior is for the screen to scroll up so the fields are in focus and visible. At least it behaves properly on Android.#782The text was updated successfully, but these errors were encountered: