-
Notifications
You must be signed in to change notification settings - Fork 36
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
Offset calculation of highlighted element is wrong sometimes #44
Comments
Yep, that's odd. I can reproduce this in my local env, but only on some pages. sbadmin template seems susceptible to it. Needs some investigation, please leave it with me. |
So I took a look at docs.html and was able to reproduce the offset issue as described by @diesl
I think that resetting the offset when hiding the highlight should do the trick? was thinking something like, adding a reset before calling fadeOut(), at around line 135:
to this?
|
+1 for this bug fix... I don't know if it's the correct solution, but .. it works! |
Sometimes, the offset calculation of the highlighted square is wrong. I am not sure why this is happening, but now I figured out how to reproduce it.
Steps to reproduce:
#intro
The text was updated successfully, but these errors were encountered: