Tropix126 / fluent-svelte

A faithful implementation of Microsoft's Fluent Design System in Svelte.
https://fluent-svelte.vercel.app
MIT License
624 stars 28 forks source link

on:close event of InfoBar won't trigger #60

Closed Der-Penz closed 7 months ago

Der-Penz commented 1 year ago

Before you start...

What browsers are you seeing the problem on?

Chrome

Description

When I add a on:close listener on the InfoBar HTML Element no event will be triggered. The on:open event won't work too.

Steps To Reproduce

  1. Add Element
  2. Add a on:close event image
  3. Click the close button of the InfoBar in the browser

Expected behavior

'close' should be logged to the console

Relevant Assets

No response