Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tarekajaj opened this issue Aug 8, 2023 · 1 comment
Closed

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

Tarekajaj opened this issue Aug 8, 2023 · 1 comment

Comments

@Tarekajaj
Copy link
Contributor

Tarekajaj commented Aug 8, 2023

  • 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

@njvb
Copy link

njvb commented Aug 16, 2023

+upvote

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants