storybookjs/storybook
[Bug]: Custom viewport does not highlight the Viewport tool as active in the toolbar
Closed
#35,067 opened on Jun 5, 2026
addon: viewportbuggood first issuesev:S4ui
Repository metrics
- Stars
- (89,909 stars)
- PR merge metrics
- (Avg merge 7d 22h) (184 merged PRs in 30d)
Description
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