Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Option to pass queries to modals #201

Open
@vuckookv3

Description

@vuckookv3

Is there a way to provide query params when opening modals?

So I have some list component, that has in it's state likefilter and other things...

And I need to open a modal while those filters are still being applied to component behind modal.
I have set up like this:

  pages    todos      index.tsx      +newTodo.tsx

But when I call modals.open('/todos/newTodo'), the query params gets deleted, and I'm back to the initial state...
I am tried to provide options likeat, but this only accepts string of type Path... I also can't see any option to provide query params

Also, I noticed that when I use back button in browser, the modal keeps appearing....

Is there a way to handle this, without switching over to state-based modals?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp