Storysource: clicking on stories does not update what is highlighted
See original GitHub issueDescribe the bug When you click on a story in the sidebar, Storysource does not update the code area that is highlighted.
To Reproduce Steps to reproduce the behavior:
- Go to
WithTooltip
- Click on the stories in the sidebar
- Observe that the code highlighted in Storysource does not change
Expected behavior I expect the highlighted code to change.
Screenshots
Here’s a gif of this behavior in the Button
component. https://cl.ly/335848ffb52a
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
Source - Storybook - JS.ORG
Storybook's Source Doc Block displays the story's source code. It supports syntax highlighting for most languages (e.g., javascript , jsx , json ,...
Read more >Top 9 Fixes for Instagram Story Highlights Not Loading Issue
Are Instagram highlights not appearing for you? Do you see grey stories in your archive section? Find out how to fix Instagram highlights...
Read more >Final Cut Pro X Flashcards | Chegg.com
Study Final Cut Pro X flashcards. Create flashcards for FREE and quiz yourself with an interactive flipper.
Read more >[Updated] Instagram 'Add Yours' Chain Story sticker not ...
Update 20 (December 11). 04:20 pm (IST): While many users still can't use the Add Yours sticker, a recent report has highlighted ......
Read more >Igo part 1 google drive password - Seba Online
609 x64 admin January 30, 2022 No Comments Description GameMaker Studio ... Base the design on the field of the scholarship none Welcome...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I think this issue is related to https://github.com/storybooks/storybook/issues/6136.
After chaining my stories together…the highlighting worked as expected.
I am seeing a similar possibly related issue with Storysource where the selected story does not get highlighted.
I am using “@storybook/angular”: “^5.0.5” and “@storybook/addon-storysource”: “^5.0.5”
My .storybook/webpack.config.js is
The source shows up, there is just no highlight of the selected story. The source code is black-text on white-background which is different from all screenshots of this feature that I have seen. Could this be theming to styling issue?