SUI-Components/sui-components

atom/toast:The toast does not close🪲

franco4457 opened this issue · 0 comments

URL

https://sui-components.vercel.app/workbench/atom/toast/demo

Steps to reproduce

  1. go to https://sui-components.vercel.app/workbench/atom/toast/demo
  2. autoClose enable
  3. effect disable
  4. iconClose defined
  5. and toast don't close

Expected Behavior

The "effect" state is being validated incorrectly

Screenshots

image

Which device have you used?

  • Desktop
  • Tablet
  • Mobile
  • smartTV

Which operating systems have you used?

  • Windows
  • Linux
  • macOS

browser and version

  • browser google-chrome-stable

Additional info

It may just be an error in the documentation demo, I haven't tested it in code