fkhadra / react-toastify

React notification made easy 🚀 !
https://fkhadra.github.io/react-toastify/introduction
MIT License
12.33k stars 676 forks source link

[Bug] Transitions don't work without ReactToastify.css #1124

Closed nandita1 closed 2 weeks ago

nandita1 commented 2 weeks ago

Do you want to request a feature or report a bug? Bug What is the current behavior? Transitions don't work without ReactToastify.css If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your CodeSandbox (https://codesandbox.io/s/new) example below: https://codesandbox.io/p/sandbox/frosty-perlman-4jqpnc?file=%2Fsrc%2Fstyles.css%3A17%2C16 What is the expected behavior? Transitions should work even when we want to not import ReactToastify.css as it has a lot of default styles. Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React? React 18