|
|
|
|
|
by fadymak
847 days ago
|
|
Gotcha. The “clicking around” causes state changes like adding a field which is stored in the URL query parameters. Initially this was a design decision to make it easy to share the URL of the Mock API you built with other developers. However, I can see this is breaking user expectations - I’ll work on getting that changed so it’s more in line with what users expect. I appreciate the feedback because initially that felt “natural” to me but I can see how it might not be intuitive to others. |
|
Do not use history.pushState to update the URL if whatever is happening on the page doesn't count as navigation. Try to look into history.replaceState and see if it helps.