Storybook and Angular #28698
Replies: 1 comment 1 reply
-
Without more information, it is hard to answer. Could you provide a reproduction? A quick simple reproduction can be made with https://storybook.new My assumption for the scrollbar is that your apps stylesheet has page scrolling disabled. The docs pages render components inline, by default, so your stylesheets get added to it. There are a few possible solutions, depending on your project, so it is hard to say which will work without knowing what your style rules are. The most generic may be to add styles to a I can't really answer your question about your button output, because I don't know how your story is defined and I don't know what you consider complete html to be. The code shown, when clicking "Show Code", should be the code that someone could copy to get that story's output in their app. It is a documentation feature, so it shows what someone would want to see if they are going to use that component. Someone may have an addon for more output, but I can only see that being useful for development and devtools can show that. |
Beta Was this translation helpful? Give feedback.
-
Summary
When I add storybook to a new angular project and i run this. Than I can't scroll in the documentation of the example stories also when I update the button component not the complete html output is shown in the documentation.
Additional information
No response
Create a reproduction
No response
Beta Was this translation helpful? Give feedback.
All reactions