TheWidlarzGroup / react-native-notificated

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

Notification is hidden behind modal #273

Closed wilkinsonj closed 4 weeks ago

wilkinsonj commented 3 months 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 3 months ago

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

PdoubleU commented 4 weeks ago

@wilkinsonj I hope you solved it. For now I close this issue. Package is handling modals and notifications, please see documentation. If there is a problem with notification in modal, feel free to reopen this issue.