gunnartorfis/sonner-native

[BUG] Toast doesn't show after open image picker or any native screens

Closed this issue · 3 comments

Describe the bug
I use react-native-image-picker to select picture or take picture. after show picker or camera, Toast doesn't show anymore.

To Reproduce

  1. open picker by react-native-image-picker
  2. show Toast

Screenshots

Simulator.Screen.Recording.-.iPhone.16.Pro.-.2024-10-16.at.16.20.13-2.mp4

Environment info

Library Version
sonner-native 0.15.0
react-native 0.71.19
react-native-reanimated 3.14.0
react-native-gesture-handler 2.8.0

Can you provide a minimum reproducible GitHub repo for me to reproduce this?

Yes, surely

I created a sample app but every thing is ok!
I fixed my problem by update key props to rerender Toast.

 <Toaster
     key={updateToastRef}

but i don't know why have problem in Main app!