Essentials: 6.3.x breaks the browser HTML inspector usage
See original GitHub issueDescribe the bug
With @storybook/addon-essentials
v6.3.x (up to v6.3.1 for now), I can’t use the native HTML inspector of my browser (reproductible in Firefox and Chrome at least).
Using the contextual menu “inspect” option, or the inspector button at the top left of the dev tools, the result is always the same, it briefly selects the right element and then “goes back” to the <div id="root">
element.
To Reproduce
Install @storybook/addon-essentials@6.3.1
- Enable it in the Storybook main configuration
- Start Storybook
- Go to any story
- Right click on an element and select the “Inspect” menu item
The selected element in the HTML dev tool is always <div id="root">
System
Environment Info:
System:
OS: Linux 5.12 Fedora 34 (Workstation Edition) 34 (Workstation Edition)
CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
Binaries:
Node: 14.17.1 - ~/.nvm/versions/node/v14.17.1/bin/node
Yarn: 2.4.2 - /usr/bin/yarn
npm: 6.14.13 - ~/.nvm/versions/node/v14.17.1/bin/npm
Browsers:
Firefox: 89.0.2
npmPackages:
@storybook/addon-essentials: 6.2.9 => 6.2.9
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top Results From Across the Web
How to Use Your Browser's Inspect Element Tool to Edit ...
Learn how to use your browser's inspect element tool to check a webpage's HTML code. Also, edit and troubleshoot webpages locally with it....
Read more >HTML and CSS Tutorial - Nanyang Technological University
This is my first web page written in HTML. HTML. HTML uses markup tag to markup a document. Use a source-code editor, which...
Read more >Inspect Element: How to Change Any Webpage on Any Browser
Right-click any area of the web page (including blank areas) and then select inspect from the menu. · Access the Firefox settings menu....
Read more >How to Inspect Element: Simple Methods for Editing a Web Page
Right-click anywhere on the website and choose Inspect. Use the Inspect tool to highlight an element. Click on the element.style property on the ......
Read more >Chrome DevTools Protocol - GitHub Pages
The Chrome DevTools Protocol allows for tools to instrument, inspect, debug and profile Chromium, Chrome and other Blink-based browsers.
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
Can confirm that 6.3.2 also fixes the issue. Thanks a lot @shilman
Thanks for testing! I released the fix on
6.3.2
(or what I think is the fix). Closing this for now!