-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(directive): Fix element real offsetTop
- Get the real offsetTop of the element in relation of the document instead of the parent element. - When applying offset to the directive, the offsetPosition is only valid for the middle position.
- Loading branch information
1 parent
d028d9e
commit 7b081ea
Showing
1 changed file
with
46 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters