nextui icon indicating copy to clipboard operation
nextui copied to clipboard

[BUG] - Toast still animates with `disableAnimation` on

Open luixo opened this issue 2 months ago • 3 comments

HeroUI Version

2.8.4

Describe the bug

Hello, I guess disableAnimation should make toasts disappear immediately if close is invoked. Actually, there's 300ms timeout before toast is closed regardless of external context

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Use disableAnimation in HeroUIProvider
  2. Open toast
  3. Close toast programatically

Expected behavior

Toast disappears immediately

Screenshots or Videos

No response

Operating System Version

Browser

Chrome

luixo avatar Oct 11 '25 20:10 luixo

ENG-2845

linear[bot] avatar Oct 11 '25 20:10 linear[bot]

I’d like to work on this issue. Could you please assign it to me?

ariansj01 avatar Oct 12 '25 08:10 ariansj01

I’ve already forked the repo and started exploring the toast logic. #5804 I’ll submit a PR soon once I verify that disableAnimation properly skips the closing delay.

ariansj01 avatar Oct 12 '25 08:10 ariansj01