Closed mzp23 closed 1 year ago
With the appearance of toast appears a vertical scroll
In my case, this is because the parent container of the toast has the property: inset: 16px. I fixed it by overriding the styles like this:
inset: 16px
<Toaster containerStyle={{ position: "relative", inset: "16px 0", }} />
It might be a good idea to set inset:16px 0 by default
inset:16px 0
Can you provide a code sandbox to reproduce this? I'll close it until then.
inset: 16px is the default because it works for all positions (left, right).
With the appearance of toast appears a vertical scroll
In my case, this is because the parent container of the toast has the property:
inset: 16px
. I fixed it by overriding the styles like this:It might be a good idea to set
inset:16px 0
by default