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

Wrong current index row #613

Closed
jdujava opened this issue Jul 8, 2024 · 1 comment · Fixed by #614 or #628
Closed

Wrong current index row #613

jdujava opened this issue Jul 8, 2024 · 1 comment · Fixed by #614 or #628

Comments

@jdujava
Copy link
Contributor

jdujava commented Jul 8, 2024

The current index row selection implemented in #561 is flawed. Consider following scenario:

Index

1  First Section
  1.1  Subsection One
  1.2  Subsection Two
2  Second Section

Scrolling the document right before 2 Second Section, the "current index row" is then chosen as 1 First Section.

@jdujava
Copy link
Contributor Author

jdujava commented Jul 11, 2024

Implementation in #614 has still problems to descend to higher depths on one try for some reason. In the following example, placed on Subsection 1.1.1 in document, with totally collapsed index, on the first opening the selection jumps to 1.1, and only on second toggle to 1.1.1.

1  First Section
  1.1  Subsection One
    1.1.1 Subsubsection
  1.2  Subsection Two
2  Second Section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant