- Notifications
You must be signed in to change notification settings - Fork65
Open
Description
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.tsxBut 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
Labels
No labels