TheWidlarzGroup / react-native-notificated

⚡️React Native toast notifications
https://thewidlarzgroup.github.io/react-native-notificated/
MIT License
368 stars 21 forks source link

Notification is hidden behind modal #273

Open wilkinsonj opened 1 month ago

wilkinsonj commented 1 month ago

Prerequisites Please answer the following questions for yourself before submitting an issue.

Describe the bug When I display a notification whilst a user is viewing a modal (react-native-modal) it is hidden behind the modal

To Reproduce Steps to reproduce the behavior:

  1. Add a react-native-modal in view
  2. Raise a notification
  3. Don't see notification

Expected behavior Ideally the notification would sit on top of everything else

Possible Solution I know that this is tricky because of the way RN handles modals (above everything else) but I believe other libraries have achieved it.

quan-nh-torus commented 1 month ago

hi @wilkinsonj I found an example in thedocumentation. Do you find it helpful?