timolins / react-hot-toast

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

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

Open bokisha opened 3 months ago

bokisha commented 3 months 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 months ago

@timolins Did you abandon this project? 🙏

Redmega commented 2 months ago

Can confirm this is happening to me as well