Skip to content

[pull] next from storybookjs:next#878

Merged
pull[bot] merged 3 commits into
GesuBackups:nextfrom
storybookjs:next
Jun 22, 2026
Merged

[pull] next from storybookjs:next#878
pull[bot] merged 3 commits into
GesuBackups:nextfrom
storybookjs:next

Conversation

@pull

@pull pull Bot commented Jun 22, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Sidnioulz and others added 3 commits June 18, 2026 11:26
…rameter

The decorator's parameter->globals sync effect was emitting UPDATE_GLOBALS
with an empty config on every story that didn't declare 'parameters.pseudo'.
On initial load, this overwrote pseudo state globals supplied via URL or
toolbar (e.g. ?globals=pseudo.focusVisible:!true) with {}, dropping the
user's selection before it could be applied.

Skip the sync when the parameter has no pseudo states to push, so URL and
toolbar globals survive on stories that don't set the parameter themselves.

Fixes #32221
PseudoStates: Preserve URL globals on story change
@pull pull Bot locked and limited conversation to collaborators Jun 22, 2026
@pull pull Bot added the ⤵️ pull label Jun 22, 2026
@pull pull Bot merged commit 05c6dd2 into GesuBackups:next Jun 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant