responsively-org / responsively-app

A modified web browser that helps in responsive web development. A web developer's must have dev-tool.
https://responsively.app
GNU Affero General Public License v3.0
22.67k stars 1.18k forks source link

Updating or Removing URL Query Params not updating the page #1273

Open joshuacue opened 2 months ago

joshuacue commented 2 months ago

🐞 bug report

URL/URL Query not updating

✍️ Description

Page doesn't update when you manuall change/remove query URL params.

🔬 Minimal Reproduction

-Go to -- >localhost:4000/xxxx-xx?queryKey=query-value -Manually change localhost:4000/xxxx-xx to see variant of the page without queryKey -It will suggest the localhost:4000/xxxx-xx?queryKey=query-value, ignore it by either pressing Escape or click outside so suggestion disappears -URL will change to the localhost:4000/xxxx-xx but page won't rerender/update to the variant without the URL query params so you will assume you need to reopen the app -Reopen the app, enter the localhost:4000/xxxx-xx again and ignore the suggestion -Press Enter and you will be redirected tolocalhost:4000/xxxx-xx?queryKey=query-value 😆

🌍 Your Environment


MacOS Sonoma 14.3
Chrome Version 127.0.6533.89 (Official Build) (arm64)
NextJs 14 + nuqs -- could be helpful 

Work around:

Clear History

pradeepbgs commented 2 weeks ago

looks interesting issue , let me see and test the issue

pradeepbgs commented 2 weeks ago

Hey can you share the video ? So it would be helpful for me to see the problem and contribute to it

happymvp commented 13 hours ago

@pradeepbgs Any updates?