Skip to content

feat: scroll the selected element to the center of the viewport#590

Draft
ARandomOWL wants to merge 1 commit intoinfokiller:masterfrom
ARandomOWL:scroll-center-viewport
Draft

feat: scroll the selected element to the center of the viewport#590
ARandomOWL wants to merge 1 commit intoinfokiller:masterfrom
ARandomOWL:scroll-center-viewport

Conversation

@ARandomOWL
Copy link
Copy Markdown

@ARandomOWL ARandomOWL commented Feb 17, 2024

Tested with Google search on Firefox and Chromium.

  • Test search engines other than Google.
  • Remove unused variables after the centering algo is finalised.

Fixes #559.

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.

Auto-scroll such that page view has cursor vertically centred

1 participant