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

Fix: Record TOC navigations in history (#1248) #1348

Closed

Conversation

Jinash-Rouniyar
Copy link

Closes #1248

Currently, TOC navigations do not go through the Qt system and use JavaScript to scroll directly.
This PR ensures that in-page history records those actions while still allowing JavaScript to handle scrolling.
This prevents unnecessary page refreshes that reset DOM states.

@kiwix/lieutenants Please review when available.

@kelson42 kelson42 marked this pull request as ready for review February 27, 2025 06:25
@kelson42
Copy link
Collaborator

@Jinash-Rouniyar Thank you for your PR. Please make commits only related and necessary to your change. I won't review 30.000 lines of code changes.

@Jinash-Rouniyar Jinash-Rouniyar force-pushed the feature/toc-history-#1248 branch from 636fa42 to a599475 Compare February 27, 2025 08:10
@Jinash-Rouniyar Jinash-Rouniyar deleted the feature/toc-history-#1248 branch February 27, 2025 08:10
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 this pull request may close these issues.

TOC navigations should be recorded in history
2 participants