Skip to content

"props" not passed to component when using "openIn" #4215

@Tarekajaj

Description

@Tarekajaj
  • Framework7 version: 8.1.0
  • Platform and Target: Chrome
  • Live Link or CodeSandbox: CodeSandbox

Describe the bug

When using router.navigate with openIn option the props are not passed to the component loaded, i.e. page inside modal

To Reproduce

in the CodeSandbox, click "Open normally", you will see the full list of pros received by the test page (id & extra),
but if you click on "Open with openIn="popup" which is the same except it has openIn="popup", you will only see the id prop passed in the url and not the extra prop passed in the options

Expected behavior

the props passed in the navigate option to be available at the destination component normally

Actual Behavior

props passed in navigate are not available

Screenshots

Check CodeSandbox

Additional context

N/A

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