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
Fix anchor links issue within Matomo #19252
Comments
@Chardonneaur try to reproduce it, but it works fine for me, I tested Safari, Firefox, and Chrome. Do you mind providing more details, like a screencast or browser version? |
@peterhashair sure, here it is https://www.youtube.com/watch?v=UNTXIkO0zXY |
I was able to reproduce that locally. Once the hash is appended to the url, every click will trigger a scroll to that anchor. |
I confirm I have this behavior on Matomo 4.3.1 |
@sgiehl I've seen this before the vue migration, had something to do with the angularjs digest cycle (you should be able to see infinite digest errors in the console). Curiously it does not happen if I scroll my mousewheel, only if I use the scroll bar itself. Actually if I remember correctly it's due to the URL being like |
yes, that's right. wondering why the scrolling is triggered on every activity even though the URL doesn't change |
@sgiehl It's due to the URL not matching what angularjs expects. As in its in the format
Probably. It can also be fixed now by changing the URLs to start with a |
@diosmosis oh great, so it can be fixed within the next Matomo version? |
@Chardonneaur I'm not in charge or prioritization you'd want to ask someone else. |
@Chardonneaur yes we aim to fix all regressions quickly. I have added this to the current milestone for Matomo 4.11.0 |
Perfect, thank you so much. |
When we access to the API page within Matomo, Admin --> Platform --> API. If you click on one of the API method link, it makes you move to the associated link. But then, if you scroll up or click on any other link on the page it will still go back to the anchor link you selected.
Honestly, this is super annoying.
The text was updated successfully, but these errors were encountered: