vercel-toast icon indicating copy to clipboard operation
vercel-toast copied to clipboard

Allow to set the position

Open JoaquimLey opened this issue 2 years ago • 2 comments

I'm aware this is based on vercel's design approach, but as with other libs there is a position property we can pass so we change the anchor point, something along the lines of:

top-left top-center top-right
left center right
bottom-left bottom-center bottom-right

I've read the documentation it doesn't seem to point to this option being available.

-- Thank you

JoaquimLey avatar Dec 19 '22 01:12 JoaquimLey

if support positioning, it will only support bottom-{left,center,right}, other positions need to rewrite the animation, it is not a small work.

2nthony avatar Dec 20 '22 02:12 2nthony

Hey even if you “only” support the bottom that’s a big win and I’ll take it! Appreciate you taking the time and maintain the lib

On Tue, 20 Dec 2022 at 02:31, 2nthony @.***> wrote:

if support positioning, I will only support bottom-{left,center,right}, otherwise need to rewrite the animation, it is not a small work.

— Reply to this email directly, view it on GitHub https://github.com/2nthony/vercel-toast/issues/102#issuecomment-1358756257, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABU2D7BSQNLF66POOMGCKBDWOELAJANCNFSM6AAAAAATC2IYMQ . You are receiving this because you authored the thread.Message ID: @.***>

--

Best regards,

JOAQUIM LEY

https://joaquimley.com https://joaquimley.com

@JoaquimLey https://twitter.com/JoaquimLey

JoaquimLey avatar Dec 20 '22 09:12 JoaquimLey