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

Is there a way to set position for individual toasts? #23

Closed
AlejandroAkbal opened this issue Jul 9, 2023 · 4 comments · Fixed by #49
Closed

Is there a way to set position for individual toasts? #23

AlejandroAkbal opened this issue Jul 9, 2023 · 4 comments · Fixed by #49

Comments

@AlejandroAkbal
Copy link

e.g.

<Toaster position="top-center" />
toast('This toast will be on bottom', {
      position: 'bottom-center'
})
@wobsoriano
Copy link
Contributor

I think that breaks the purpose of stackable toasts, no?

@gsabater
Copy link

@wobsoriano Maybe, but it would be extremely useful.
I guess by your comment that it's not possible?

@kecoliva
Copy link

kecoliva commented Feb 13, 2024

I think that breaks the purpose of stackable toasts, no?

Not really; besides, the original sonner itself implements this.

@wobsoriano
Copy link
Contributor

Good catch @kecoliva. I actually forgot about that 😄

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 a pull request may close this issue.

4 participants