You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That suggestion in the link did not work. But I'm pretty sure fixed is the wrong positioning for usePortal={false}, and we just haven't hit this problem because no one was really using that option. I propose changing it to absolute here: #4555
Environment
Code Sandbox
https://codesandbox.io/s/dank-bush-b2wur
Steps to reproduce
Toaster
component withusePortal={false}
.position
torelative
.Actual behavior
Procured toasts appear at the top of the page.
Expected behavior
Procured toasts appear at the top of the parent container. Related to #3039
Possible solution
I believe part of the issue here is that the toast container uses
position: fixed;
. This makes it so that setting the containing parent'sposition
torelative
doesn't contain the toasts. Possibly using this might work: https://www.gravitywell.co.uk/insights/css-tip-fixed-positioning-inside-a-relative-container/ ?The text was updated successfully, but these errors were encountered: