Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toasts overlap each other when done in a 'for'-ish type loop #19

Closed
aaron-romanick opened this issue Sep 18, 2021 · 2 comments
Closed

Comments

@aaron-romanick
Copy link

When doing a 'for'-ish loop (for, forEach, etc.) through an AJAX's response errors and making a toast for each one, they overlap each other on the screen instead of cascading below each other. A temporary workaround I've found is to wrap the createToast function in a setTimeout of only 1 millisecond, but a permanent fix within the library would be much appreciated.

@szboynono
Copy link
Owner

Hi! Thanks for your feedback! I made a little update to the code. Can you try out v1.0,23?

@aaron-romanick
Copy link
Author

Thanks! Looks good!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants