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

Update element offset computation #1

Merged
merged 1 commit into from
Jun 28, 2023
Merged

Conversation

AngeloKarugo
Copy link
Owner

Updated logic for computing element top and left offset to use document.documentElement and window, from document.body since document.body always returns 0

Updated logic for computing element top and left offset to use document.documentElement and window, from document.body since document.body always returns 0

Signed-off-by: AngeloKarugo <52207274+AngeloKarugo@users.noreply.github.com>
@AngeloKarugo AngeloKarugo merged commit b7130fc into master Jun 28, 2023
@AngeloKarugo AngeloKarugo deleted the element-offset-update branch June 28, 2023 09:28
@AngeloKarugo AngeloKarugo restored the element-offset-update branch June 28, 2023 09:28
@AngeloKarugo AngeloKarugo deleted the element-offset-update branch June 28, 2023 09:28
@AngeloKarugo AngeloKarugo restored the element-offset-update branch June 28, 2023 10:20
@AngeloKarugo AngeloKarugo deleted the element-offset-update branch June 28, 2023 10:20
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.

1 participant