react-toastify icon indicating copy to clipboard operation
react-toastify copied to clipboard

[FEATURE REQUEST] Config specify swipe to close direction

Open JakubKoralewski opened this issue 6 years ago • 5 comments

Do you want to request a feature or report a bug?

Feature.

What is the current behavior?

You can only swipe horizontally, left and right to close the toast.

What is the expected behavior?

It would be nice to be able to still have horizontal by default to not make any breaking changes, but still allow to pass an option for the swipe to be vertical.

JakubKoralewski avatar Jul 30 '20 19:07 JakubKoralewski

can I take on this @fkhadra?

jerrybuks avatar Aug 05 '20 02:08 jerrybuks

Hey @jerrybuks,

Please do. And don't hesitate if you need some guidance. Thank you !

fkhadra avatar Aug 05 '20 08:08 fkhadra

Okay, will give it a shot and let send in my questions when I need guidance

jerrybuks avatar Aug 06 '20 02:08 jerrybuks

@fkhadra @jerrybuks Hey, I would like to take care of this issue.

erikujczo avatar Oct 19 '20 17:10 erikujczo

I've got a PR for this feature ready to be sent @fkhadra. I use your library in production and I really need this feature ASAP :)

denydavy avatar Dec 24 '20 11:12 denydavy