We built this onboarding flow in React Native that feels better than most native apps
Here’s how we did it:
① Patched react-native-screens for a custom transition
② Button and stepper are rendered on top of the stack
③ Synced button state across screens via context
The button and header are positioned absolutely above the stack. When a screen focuses, it updates the shared button state (text, disabled state) via context
The hardest part is keeping the keyboard open during screen transitions. We solved it with hidden TextInputs that get focused programmatically before navigating
The result: one button flows across every screen and surfs the keyboard