Skip to content

Add open_in_new_tab parameter to me.navigate #1287

@BobserLuck

Description

@BobserLuck

Is your feature request related to a problem? Please describe.
Can't navigate to a new page in separate tab/window.

Describe the solution you'd like
Add an option for navigate to open a URL with params in a new tab.

Describe alternatives you've considered
Generate a link and dynamically adjust the URL with parameters based on state and set open_in_new_tab=True. This works for my use case, but there's a caveat. Diffing sometimes misses state changes for some parameters. This can be "tricked" by changing key= from time to time on some mesop components.

Using me.navigate is a better solution to this as it can generate parameters and inject them at the time of an event.

Additional context
Hold a particular page open while opening up a new page based on parameters. Example might be a "Search" page stays open when you select a result from a list that you want to see more details on from a "Details" page.

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