Hi all, I’m using the Minis router inside my Mini app. When I navigate from Page 1 → Page 2, and then from Page 2 I open a product page (for example, from the ProductCard component in the SDK), the mobile native back button behaves weirdly.
What happens is: when I’m on the product page and hit the native back button, it doesn’t close the product page. Instead, it seems to pop the Mini’s navigation stack in the background. After testing a bunch of times, I realized the Shop app is actually navigating from Page 2 → Page 1 when I tap back—even though the product page is still visibly on the screen. So visually I stay on the product page, but the Mini secretly moves back a page.
When I use the header back button (the one visible during development), everything works correctly: it closes the product page first, then returns to Page 2, which is the expected behavior.
But with the native mobile back button, if I press it twice, the product page finally closes—which drops me back into the Mini—but now I’m on Page 1 instead of Page 2, which is definitely not intended.
Any idea how to fix this?
