fkhadra / fkhadra/react-toastify

How can I add a backdrop to my toast

Open
#1,196 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13.4k
Forks
741
PR merge metrics
No merged PRs in 30d

Description

Hello,

I want to display an "Are you sure?" toast to my users that they can't skip. I tried using a modal or backdrop, but it requires manual styling because the modal takes up the entire page, and my text is aligned to the left. I've shared an image to show this.

Lastly, is there a way to remove the closing delay when I call closeToast? There's a noticeable delay before the toast disappears.

Thank you!
![image](https://github.com/user-attachments/assets/88856849-eb39-4d52-b955-a549810e77d2)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.