Skip to content

[Bug]: Setting dynamicTitle to false in globals has no effect #33281

@6apc1k

Description

@6apc1k

Describe the bug

When configuring globals with dynamicTitle: false, the expectation is that the toolbar title remains fixed regardless of global option changes. However, selecting an option from the toolbar's global select causes the toolbar title to update to that option's title.

Reproduction link

https://stackblitz.com/edit/github-w91nbsqm-9jyxfq2t?file=.storybook%2Fpreview.ts

Reproduction steps

  1. Go to above link.
  2. Select an option (e.g., "example1") from the global select toolbar.

System

Storybook Environment Info:
│

│  System:
│  OS: macOS 26.1
│  CPU: (8) arm64 Apple M1 Pro
│  Shell: 5.9 - /bin/zsh
│  Binaries:
│  Node: 22.19.0 
│  npm: 8.19.4 
│  pnpm: 9.15.3 - /opt/homebrew/bin/pnpm <----- active
│  Browsers:
│  Chrome: 142.0.7444.176
│  Edge: 142.0.3595.94
│  Firefox: 143.0.3
│  Safari: 26.1
│  npmPackages:
│  @storybook/addon-a11y: 10.1.2 => 10.1.2
│  @storybook/addon-docs: 10.1.2 => 10.1.2
│  @storybook/addon-links: 10.1.2 => 10.1.2
│  @storybook/angular: 10.1.2 => 10.1.2
│  @storybook/test-runner: 0.24.2 => 0.24.2
│  eslint-plugin-storybook: 10.1.2 => 10.1.2
│  storybook: 10.1.2 => 10.1.2

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions