stackbuilders / react-native-spotlight-tour

A highly customizable tour feature with an awesome spotlight effect
https://stackbuilders.github.io/react-native-spotlight-tour/
MIT License
234 stars 27 forks source link

Changing screens using ReactNavigation breaks spotlight positioning #146

Open vethan opened 6 months ago

vethan commented 6 months ago

If you use call navigation.navigate in a toursteps Before, and move to a screen with an attatched step, the spotlight will not highlight the correct component. This can lead to many issues in multi-screen tutorials!

0xAskar commented 2 months ago

@vethan have you found a solution? I don't know how to pass down the spotlight either. I try to have an in the other pages, but it seems like the only solution is to have it one screen, or pass it down to child components? but not all screens are components of each other