calintamas / react-native-toast-message

Animated toast message component for React Native
MIT License
1.66k stars 258 forks source link

Overlapping issue of toast #297

Open HrideyReact opened 2 years ago

HrideyReact commented 2 years ago

Steps to reproduce the behavior:

Add a view inside modal. Add toast '' inside the view Display toast Environment (please complete the following information):

OS: [iOS, Android] react-native-toast-message version: [e.g. v2.0.0] react-native version [e.g. v0.65.0]

simulator_screenshot_8FF11327-3738-422A-B70B-6CA271B4E78C

calintamas commented 2 years ago

Hi @HrideyReact, can you add the code to reproduce it (or just to get an idea)?

Also, you should probably have the <Toast /> instance alongside the View container that wraps your modal:

<Modal>
  <View>
     {/* content */}
  </View>
  <Toast />
</Modal>