Animations not working, autoClose not working
See original GitHub issueOddly, animations are not working for me at all. When the toast appears, there is no animation. Similarly, when I manually close the toast, there is an abrupt close with no animation. And because autoClose
is dependent on the animation, the toast will never close until triggered manually.
I have the CSS file referenced correctly, and styling seems to work otherwise. My implementation is as follows:
Container:
<ToastContainer
position="top-right"
type="error"
autoClose={4000}
hideProgressBar={false}
closeOnClick={true}
pauseOnHover={true}
/>
Trigger code (tried placing this in various areas in my code with the same result):
toast('message', {
type: toast.TYPE.ERROR,
autoClose: 3000,
hideProgressBar: false,
pauseOnHover: true,
});
I’ve tried every variation of settings to no avail. This was attempted using the newest versions of Chrome and Safari. What could be going wrong here?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:16 (3 by maintainers)
Top Results From Across the Web
autoClose of tooltipster is not working - Stack Overflow
On page load the tooltipster shows, but i want it to stay there unless user clicks on the link in tooltipster content. The...
Read more >How To Fix Brawl Stars App Auto Close Problem Android & Ios
How To Fix Brawl Stars App Auto Close Problem Android & Ios - Brawl Stars App Automatically Closing. 2K views · 2 years...
Read more >Fixed issues in Animate release - Adobe Support
Here's a list of issues we fixed in the latest release of Animate. ... Curly braces do not auto close in the Actions...
Read more >animation - API Reference - Kendo UI MultiSelect
Configures the opening and closing animations of the suggestion popup. Setting the animation option to false will disable the opening and closing animations ......
Read more >jquery-confirm.js | The multipurpose alert & confirm
QUICK USE THEME ANIMATION AUTO CLOSE LOAD FROM URL BACKGROUND DISMISS GLOBAL DEFAULTS ... Auto-close, Ajax-loading, background-dismiss, themes and more.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have
CSS modules
in my project, and just copied all CSS from the module and added :global prefix to each one. I do not have animations nor autoClose working.@fkhadra Can you please add this to the documentation? It might be helpful for people using CSS Modules.