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.
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 todisplay: 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, thestay 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