Skip to content

Must click "back" 3x to go back after navigating to canvas #4812

@taylordowns2000

Description

@taylordowns2000

If you click into a workflow from the workflow list and try to go back to the list by either clicking "back" or pressing delete/backspace in your browser, you must execute that "back" action 3 times to actually get back.

This is probably because sometimes (for reasons?) we call updateSearchParams a few times while loading a complex page with many possible param, but many of the updates are no-ops!

Image

If we compare, and return early, hopefully this won't happen anymore.

Version v2.16.6 (1.5.86)

Video of bug

https://www.loom.com/share/9c45aa33db714c4daa982417e1cba6e7

Video of fix with diff above applied

https://www.loom.com/share/17f8c56f0d8d41a58fc71df6960e2732

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNewly identified bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    In review

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions