Page: Introduce animateWhenShown property
This commit introduces the ability for developers to specify pages to run an animation when they are shown.
This is useful for lateral navigation (navigating on NavigationTabBar, or sidebars) as it provides UI feedback that the user has "moved horizontally" (not gone deeper in the page stack) during their navigation.
To test this MR, you may set animateWhenShown
to true
by default on Page, and experiment with any Kirigami application.
Edited by Devin Lin