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

Display selected items at the top of the browser viewport #365

Merged
merged 1 commit into from
Jan 3, 2024

Conversation

JasperCraeghs
Copy link
Member

@JasperCraeghs JasperCraeghs commented Jan 3, 2024

With the configuration of traceability_collapse_links = True, our traceability.js hides all attributes and relationships when the HTML document is ready. This can cause the viewport to jump, losing focus of the selected traceable item.

This PR should fix this issue. I tested it with Firefox and Chrome.

Closes #363

@JasperCraeghs JasperCraeghs merged commit 92dc9aa into master Jan 3, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scroll position for url link ending with the Id of an Item (anchor/hash)
1 participant