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

Element offset position #3

Merged
merged 2 commits into from
Apr 12, 2023
Merged

Element offset position #3

merged 2 commits into from
Apr 12, 2023

Conversation

AngeloFaella
Copy link
Owner

Use getBoundingClientRect instead of offsetTop to calculate element absolute position.

@AngeloFaella AngeloFaella linked an issue Apr 12, 2023 that may be closed by this pull request
@AngeloFaella AngeloFaella merged commit a8cf37d into main Apr 12, 2023
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.

Document Outline does not scroll to the headings on click
1 participant