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

Fix using multiple positions at the same time #635

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

antriver
Copy link

Fixes #438

@zverev78
Copy link

It will create multiple <div>s with the same id. Not an ideal solution.
Possibly we should change containerId to options.containerId + '-' + options.positionClass when options.containerId is default (i.e. == getDefaults().containerId),
change in css all #toast-container to .toast-container
and add this css class in createContainer().

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

Successfully merging this pull request may close these issues.

Multiple toasts with different positions take first position
2 participants