router.subscribe pathChanged is true even when only query parameters change #2638
merthanmerter
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I have added this PR: #2649 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I noticed the pathChanged flag behaves in a way that might be counterintuitive. pathChanged is set to true even when only query parameters in the URL change, while the actual path remains the same.
My approach to my current use-case to fix this is as below but imho it would make more sense if it was the default behavior of pathChanged. What do you think?
Beta Was this translation helpful? Give feedback.
All reactions