timolins / react-hot-toast

Smoking Hot React Notifications 🔥
https://react-hot-toast.com
MIT License
9.67k stars 321 forks source link

Dismiss method stops working when using custom method with MUI Alert #370

Open bokisha opened 4 weeks ago

bokisha commented 4 weeks ago

Libraries used: @mui/material 5.15.10 @react-hot-toast 2.4.1

Stackblitz

Steps to reproduce:

  1. Click on Open toast
  2. Toast will be shown in top right corner
  3. Click on X button to close it
  4. When closed manually, toasts will always remain visible (stacked one above another)

Expected behavior: Toast should dissapear.

When using remove, everything works as expected.

mirague commented 3 weeks ago

@timolins Did you abandon this project? 🙏