TheWidlarzGroup / react-native-notificated

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

[BUG] In some project's configurations notification positioning left/right doesn't work #252

Closed PdoubleU closed 3 months ago

PdoubleU commented 5 months ago

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

Describe the bug The right and left seem not to work in some apps (looks like some layout styles interfere with the notification styles)

To Reproduce Steps to reproduce the behavior:

  1. Create fresh React Native app
  2. Install package react-native-notificated (latest version)
  3. Initialize notifications component with default (notification should be centered)
  4. Add notification to the event in the app (i.e. on button press)
  5. Notification, despite default styles is located on the left (without any space from the corner of the screen)

Expected behavior By default notification should be centered on the top

Possible Solution Seems like style issue.

Screenshots n/a

Smartphone (please complete the following information):

Additional context

sanduluca commented 3 months ago

Same issue. I see a PR open and tested it. It worked for me. Hope it will be released soon