Skip to main content
Question

Figma.notify error | Figma notify error does not timeout


I saw this topic, which is closest to the problem I’m having, Figma notify with error not according to docs,

I have a Figma.notify with error set to true, but it does not timeout with the built in default 3 seconds according to the documentation. I have to manually add the timeout: 3000.

Was wondering is there something that can be done on my end, thanks in advanced

3 replies

tank666
  • 4858 replies
  • February 6, 2024

The 3 second timeout is the default in regular notifications (error: false). Once you set the error: true, the timeout of such notification will change to Infinity. So if you want the error notification to close automatically, you definitely need to add a timeout value.


Ah okay, thank you! Don’t see that literature in the notify documentation.


Bogriceanu_Sorin

hey, your reply saved me some time too, as I was closing the error notif my hand, but I had no time to investigate this kind of strange behaiviour :))

My brain just tooked it for granted 😛


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings