David Ewins
Error library

router.navigate from a modal to a shared route lands with no list underneath

ExpoLikely fix

Expo SDK 57, expo-router 57.0.24

There is no error message for this one, only the symptom in the title.

Cause

From a modal the router cannot tell which tab's copy of the shared route you mean, and without the anchor nothing is pushed beneath it.

Fix

Prefix the tab and ask for the anchor:

TSX
router.navigate('/(tabs)/(history)/session/123', { withAnchor: true });

More Expo errors

Search all errors