Skip to content

The Plaid dialog adds a new entry to the browser history  #301

@mauriciomelo

Description

@mauriciomelo

Hey folks, we're facing an issue with the browser's native "back' button and it looks like it's related to the plaid link. When the user opens the plaid dialog, a new history entry pointing to the current page is added to the stack but never removed. The issue is that the user has to click the back button multiple times to "make it work", after exiting the dialog. I think this issue is not related to our app's logic because I could reproduce it on your demo page: https://plaid.com/demo/

In the video below I'm opening and closing the dialog twice, after that I need to click the back button three times (n+1) in order to go back to the actual previous page.

Screen.Recording.2023-03-07.at.17.09.35.mov

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions