Nativescript: [Feature request] Ability to to open multiple modal pages.

Created on 25 May 2017  路  8Comments  路  Source: NativeScript/NativeScript

Ability to open ModalPage from another ModalPage.
At the moment the possible workaround is to close the first page and then to open the second one.
I am attaching sample project with the workaround:
Archive.zip

done low

Most helpful comment

Finally the feature is ready and works like a charm: Features nativescript 4.0

I've tested it on android and ios with nativescript+angular

All 8 comments

I just wanted to add additionally to the vote above, this is a highly desirable thing - run into this many times working on apps.

I just wanted to add that this was working under 2.5.1 in iOS as it does in this project. Would be great if it started working again.

This would be nice to have.

In my application, users can create content from different areas of the application. After creating or updating them, they should stay on the page where they opened edit/create page and see the new content in the list. Because of that, I need modal page. In that modal page, I need to open another modal page to select some items.

Currently, I do this by opening the form in a new page and keeping the state of the previous page. A little bit dirty.

One thing I've been doing lately is simulating a modal by sliding up a separate panel that's part of the same page.

Ohhh exist any example to do that? @alexziskind1
Thanks in advance

@jdnichollsc Yes, check out this demo project here: https://github.com/alexziskind1/ndd/tree/master/twitter-replies

Finally the feature is ready and works like a charm: Features nativescript 4.0

I've tested it on android and ios with nativescript+angular

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Pourya8366 picture Pourya8366  路  3Comments

pocesar picture pocesar  路  3Comments

kn9ts picture kn9ts  路  3Comments

OscarLopezArnaiz picture OscarLopezArnaiz  路  3Comments

valentinstoychev picture valentinstoychev  路  3Comments