[FEATURE] Improve notificationPosition configuration #218
Labels
🚀 enhancement
New feature or request
good first issue
Good for newcomers
👋 help wanted
Extra attention is needed
Feature Request Requirements:
The existing
notificationPosition
attribute in the library doesn't provide enough positioning options, especially on larger screens like tablets.Describe the solution you'd like:
I would like to expand the capabilities of the library by enhancing the
notificationPosition
attribute. Currently, the options are limited totop
,center
, andbottom
. However, I propose adding the following additional options:top-left
top-right
bottom-left
bottom-right
This expanded set of positioning options would offer greater flexibility in placing notifications on the screen, catering to various device sizes and layouts.
Describe alternatives you've considered
I've considered manually manipulating the notification positioning using custom styles or modifying the library's code directly. However, both of these approaches are less convenient and could potentially lead to maintenance challenges in the long run.
Additional context
Adding these new positioning options would greatly enhance the usability of the library, especially on larger screens where the existing options might not suffice. This change could contribute to a more responsive and user-friendly experience for applications built using
react-native-notificated
.This solution could be an extension of this: #216, where @eleddie pointed out an issue with the notification width on tablets.
Customizing the width should also be supported by improving the notification's positioning on the screen.
The text was updated successfully, but these errors were encountered: