timolins / react-hot-toast

Smoking Hot React Notifications 🔥
https://react-hot-toast.com
MIT License
9.79k stars 331 forks source link

Toast should remain fixed on scroll at all times. #126

Closed pzapo closed 2 years ago

pzapo commented 3 years ago

On scroll down it goes up and then switches back to bottom bar of the view. On scroll up it hides with the view and the reaper at the bottom bar.

Is there way to set up toast to be fixed at all times?

stephanbogner commented 2 years ago

This doesn't happen to me. How did you include <Toaster/> in your code?

timolins commented 2 years ago

This seems to work for me. Please provide an example so we can reproduce. I'll close this issue for now.

remorses commented 2 years ago

In my case this was caused by contain: paint css prop which basically converts absolute positioned elements to relative