elements icon indicating copy to clipboard operation
elements copied to clipboard

ino-snackbar: component timeout triggered too early in storybook

Open TobiasHeimGalindo opened this issue 1 year ago • 1 comments

Description (might be fixed by #1219)

After upgrading Storybook, I've encountered an issue with the ino-snackbar component: it initiates the timeout property upon refresh, despite being set to display: none.This behavior occurs because the component still renders in the background. As a result, depending on the timing of the button trigger, the snackbar can either close immediately or fail to open at all if triggered too late. Additionally, the stay visible on hover story also needs to be adjusted once the timeout works again. Attached is a video demonstrating the issue.

https://github.com/inovex/elements/assets/81302108/2fc31651-6ab5-4b63-9fac-7055b7b6589a

TobiasHeimGalindo avatar Feb 01 '24 10:02 TobiasHeimGalindo

might be fixed by #1219, blocked until then

janivo avatar Feb 20 '24 09:02 janivo