useSearhParams wont get param when there is a #id section
Unanswered
Morelet’s Crocodile posted this in #help-forum
Morelet’s CrocodileOP
For example: if i have a Link with href={"/#form-section?video=true"}
i cant get the video param, its always null.
This way: /?video=true works like a charm, but its important to me that scroll stay in that section
Appreciate your help 🥹
i cant get the video param, its always null.
This way: /?video=true works like a charm, but its important to me that scroll stay in that section
Appreciate your help 🥹
2 Replies
@Morelet’s Crocodile For example: if i have a Link with href={"/#form-section?video=true"}
i cant get the video param, its always null.
This way: /?video=true works like a charm, but its important to me that scroll stay in that section
Appreciate your help 🥹
it should be
/?video=true#form-section i thinkMorelet’s CrocodileOP
unfortunately it doesn't work, I also put scroll={false} to the Link