You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After a property is changed on a component through the Controls panel and an action is triggered, the amount o events displayed on the Actions panel is increased by 1 for each property change.
To Reproduce
Create a new angular project and initialize Storybook on it.
Start storybook
On the side panel, select Button > Primary
Access the Controls tab
Change any property i.e label = "1234567"
Go back to Actions panel and click the Button.
Expected behavior
Events should be triggered only once.
A new subscription is being created every time props change, without checking if it needs a new subscription or unsubscribing the previous if a new one does need to be created.
Describe the bug
After a property is changed on a component through the Controls panel and an action is triggered, the amount o events displayed on the Actions panel is increased by 1 for each property change.
To Reproduce
Expected behavior
Events should be triggered only once.
Screenshots
Additional context
Angular CLI: 10.1.1
Node: 10.16.3
OS: win32 x64
The text was updated successfully, but these errors were encountered: