Skip to content
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

Menu is broken when opening anchor links #885

Closed
daniel-beck opened this issue Dec 6, 2021 · 4 comments · Fixed by #890 or #893
Closed

Menu is broken when opening anchor links #885

daniel-beck opened this issue Dec 6, 2021 · 4 comments · Fixed by #890 or #893

Comments

@daniel-beck
Copy link
Contributor

Clicking "dependencies" on https://plugins.jenkins.io/matrix-auth/ changes the URL to https://plugins.jenkins.io/matrix-auth/#dependencies.

Opening a link to "https://plugins.jenkins.io/matrix-auth/#dependencies" takes you there directly, but the menu doesn't change accordingly:

Screenshot 2021-12-06 at 14 55 17
@halkeye
Copy link
Member

halkeye commented Dec 6, 2021

Do you see anything in your console or anything? I just tried it and things seem to work right for me.

Animation

The tabs are pure javascript so its surprising it works in some case and some other places. if its still happening, which browser/etc combo?

@daniel-beck
Copy link
Contributor Author

daniel-beck commented Dec 6, 2021

The important part is opening the link in a new tab. That's the whole point of it being a separate URL, no? That one can link to a tab from elsewhere?

tabs.mov

@halkeye
Copy link
Member

halkeye commented Dec 6, 2021 via email

@halkeye
Copy link
Member

halkeye commented Dec 8, 2021

Had to revert. I liked the new solution, but it caused rendering issues.

halkeye added a commit that referenced this issue Dec 10, 2021
Fix #885 - Properly handle tabs on page rehydrate
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants