erictherobot / svelteit

Svelteit is a minimalistic UI/UX component library for Svelte and Sapper projects
https://docs.svelteit.dev
MIT License
77 stars 9 forks source link

X button in Alert components behaves quirkily. #12

Open dewcked opened 2 years ago

dewcked commented 2 years ago

Expected Behavior

Once we click X button, no matter we click it again, Alert components should be closed.

Actual Behavior

Clicking X button again before the Alert component is closed takes it back to normal.

Steps to Reproduce the Problem

  1. Click X button in a Alert component.
  2. Click X button again before the Alert component is closed.
  3. The Alert component turns back to normal.

Specifications