-
Notifications
You must be signed in to change notification settings - Fork 21
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better support for tablets #216
Comments
@eleddie thanks for reporting the issue and proposing the solution! |
Hey @eleddie , Thanks for giving our library a spin and pointing out this important issue. Your proposed solution looks really solid. I was wondering if it might be worth adding a new optional configuration element, let's name it Here's what I had in mind:
What do you think about this enhancement? Maybe you'd be interested in contributing to our library and preparing a PR with these changes? Btw, looking at your screenshots, I understood that the library could offer more extensive configuration options for |
Hi! 👋
Firstly, thanks for your work on this project! 🙂
I was facing an issue where the notifications in tablets are the size of the screen, so they are too big and don't look good.
This is a quick solution I found to have a better UI for notifications on tablets
Here is the diff that solved my problem:
This is how it looks with the current version of the library:
It can be fixed by setting maxWidth in the custom notification:
But the problem is that the PanResponder is still full width so you can't tap on the back button when the notification is shown:
And this is how it looks after the change, you can tap on the back button without any issues:
The text was updated successfully, but these errors were encountered: