storybookjs/storybook
[Bug]: Custom viewport does not highlight the Viewport tool as active in the toolbar
Chiusa
#35.067 aperta il 5 giu 2026
addon: viewportbuggood first issuesev:S4ui
Metriche repository
- Star
- (89.909 stelle)
- Metriche merge PR
- (Merge medio 7g 22h) (184 PR mergiate in 30 g)
Descrizione
Describe the bug
Notice the unselected/inactive state of the viewport Select when a custom viewport is selected:
Current
Expected
Reproduction link
Reproduction steps
- Open a story
- Set a viewport in the toolbar
- Customise the viewport
- Observe the toolbar viewport select with your eyes 👀
System
N/A
Additional context
No response