You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When navigating to a story with a defaultViewport, that viewport is correctly applied, and the globals query param in the URL is updated accordingly. When navigating away to a story without an explicit viewport, the global stays there, meaning that the viewport is still applied, even though the story doesn't have a default viewport.
I updated the viewports addon to store its state in globals in 8.0 as a step towards standardizing on globals for most addon state. This results in the behavior you describe and I don't plan to fix this.
@tmeasday is working on global overrides per #23347 and if those are finished it would have the desired behavior you describe when completed.
Describe the bug
When navigating to a story with a
defaultViewport
, that viewport is correctly applied, and theglobals
query param in the URL is updated accordingly. When navigating away to a story without an explicit viewport, the global stays there, meaning that the viewport is still applied, even though the story doesn't have a default viewport.To Reproduce
System
Additional context
No response
The text was updated successfully, but these errors were encountered: