I’m prototyping a mobile app, and trying to animate this operation: On one page (which is not the homepage), when you go to share an item, it opens an overlay menu (which fills the bottom half the screen, the background greyed out), you then navigate through a few “Swap overlays”, and at the end you click a button at the bottom of the overlay that reads “Share to feed”. When that button is tapped, I want the overlay to close (easy enough) and then—here is where I’m stumped—I would like to automatically (immediately or after a brief delay) navigate to the homepage where the shared post can now appear in the “feed”.
Now, I know how to close the overlay, and I know how to navigate to the homepage, but I can’t get the two interactions to play back-to-back after a single tap. Does anyone know how to achieve this? Is it possible?