Temporary toast does not close automatically

Hi,
a colleague from a <PROJECT_NAME> project made me aware, that in their implementation of a temporary toast the exact toast does not vanish after the set time. After trying it myself I am not able to get this to work either. For reference:

<ToastGroup><Toast type="temporary" duration={3000} /></ToastGroup>

is my simple example implementation.
What exactly am I missing or do I need to know when creating a temporary toast?

Many thanks,
Nick

Hi @nick-linked-tensor , look like your forgot to attach your reference?

It seems I forgot the code brackets :slight_smile:
It should be visible now.

Hi, I’m from Widgets. We can reproduce this issue. Could you help create A12 ticket? Thanks

Sure, I can create a ticket for it tomorrow :slight_smile:

I created the ticket. It should be A12-17293.

hi @nick-linked-tensor , I already checked this issue. The “temporary” type means the toast will auto-close by calling the onClose prop after a specific duration. So if you want to close it, you still need to use the onClose property.
We’ve also updated the API definition to make this clearer.
Let me know if you have any questions!