melexis / sphinx-traceability-extension

Traceability extension for Sphinx documentation generator
GNU General Public License v3.0
25 stars 9 forks source link

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

Closed JasperCraeghs closed 10 months ago

JasperCraeghs commented 10 months ago

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