Skip to content

Core: Abort play function on HMR or when args/globals change #16431

Open
@yannbf

Description

@yannbf

Describe the bug

If you are stepping through a story's interaction in the panel, and while you're pause you interact with controls or globals (such as a toolbar item), the story will fail in the next interaction.

Here's a commented video to show the steps:

change-controls-while-interacting.mov

To Reproduce

  • Open official-storybook interaction live demo
  • Open addon-interactions panel
  • Click on Go back
  • Interact with controls or toggle an addon in the toolbar (such as measure)
  • Go back to addon-interactions panel
  • Click on Go forward

┆Issue is synchronized with this Asana task by Unito

Metadata

Metadata

Assignees

Type

No type

Projects

Status

No status

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions