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
So that I can use CSS to catch for example hover and update the CSS for that (in my case, I'm adding a timeout animation that I need to pause for all toasts on hover)
It doesn't look hard to add, so let me know if I can open a PR for this.
The text was updated successfully, but these errors were encountered:
In our case we also want to adjust styles of internal div element (change position fixed to absolute). That's important for us, as our react app only part of main app and have no access to parent styles. With position fixed notifications go out of our container and mess up by Z-index (hidden by parent header). Class name of main element will fix it for us.
I'd like to add a class to this div through the props/options:
https://github.com/timolins/react-hot-toast/blob/main/src/components/toaster.tsx#L28
So that I can use CSS to catch for example hover and update the CSS for that (in my case, I'm adding a timeout animation that I need to pause for all toasts on hover)
It doesn't look hard to add, so let me know if I can open a PR for this.
The text was updated successfully, but these errors were encountered: