-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Angular: Functions declared in stories overrides implementation of functions in components when the names of the functions are the same #29131
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When a function is declared in a component's story with the same name as a function in the component and passed as props, the implementation of the function in the story overrides the implementation in the component. Private functions in the component are also overridden.
Reproduction link
https://stackblitz.com/edit/github-ybftbv?file=src%2Fstories%2Fbutton.component.ts
Reproduction steps
npm run storybook
System
Additional context
No response
The text was updated successfully, but these errors were encountered: