Modal Page open/close animation


#1

Hi all,
How animate Modal Page, when open (slideUp) and when close (slideDown)?
What animated property of showModal function do? Don’t see any effect, when set it to true. How to use it? And how to set transition?
I want modal page open fullscreen and animated for both platforms (ios and android).


#2

Try using a frame as root for your modal and set the transition for that frame.

Docs: https://docs.nativescript.org/core-concepts/navigation#modal-pages


#3

Don’t work. And it’s too complicated (creating modal-root.xml with Frame inside for just showing one modal page).
I expect sliding from bottom to top for modal page should be by default.
Also i don’s see any difference between cases, when animated attribute is set to true or false.


#4

It’s bug https://github.com/NativeScript/NativeScript/issues/5989