Skip to content

[LiveComponent] URL linked LiveProps don't seem to honour the browser back button #3149

@toby-griffiths

Description

@toby-griffiths

We have a live component that maps it's #[LiveProp] to a URL parameter, which we use to determine which child components to display on the page.

This works find, but when we use the browser back button to navigate back to the previous "page", it doesn't navigate back, and pressing a second time returns to the page prior to the previous one.

Is this expected bahaviour, or is this a bug? I'm happy to create a reproducer if this is not expected behaviour.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions