xiaoluoboding / vue-sonner

🔔 An opinionated toast component for Vue.

Home Page:https://vue-sonner.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is there a way to set position for individual toasts?

AlejandroAkbal opened this issue · comments

e.g.

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

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

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

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

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

Good catch @kecoliva. I actually forgot about that 😄