-
Notifications
You must be signed in to change notification settings - Fork 45
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
8px off the top #44
Comments
Thanks for the kind words! I've seen your comment in the other post as well, and I have to admit that I really hate this I have been struggling with multiline notifications this week, so I am thinking of getting rid of this value altogether. I don't have a lot of time to implement it soon, but my idea is:
This would make every This might also require some positioning work to change the container's initial placement. |
I think I may have solved this problem in a simpler way, but I need help to test if it fixes the problem for you (or other use cases). I will create a PR shortly. |
Great little add on. Well implemented as well. Not needing to pass context or props around to reach the primary placement was excellent thinking.
Testing in Chrome Dev using React 16, the toast is sitting 8px down from the top. If I hack the bin and set the y transform to -100 instead of -108, its fixed.
What was the original thinking behind the 108 offset? Want to be sure I'm not going to run into any side effects you already dealt with before setting to 108.
Thanks.
The text was updated successfully, but these errors were encountered: