-
-
Notifications
You must be signed in to change notification settings - Fork 755
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 event never change after first update #277
Labels
Comments
Closed
I think the issue is here: https://github.com/HubSpot/tether/blob/master/src/js/constraint.js#L345 Initial |
chuckcarpenter
added
the
hacktoberfest
hacktoberfest issues for newer contributors
label
Oct 1, 2019
@andresgutgon can i work on this issue |
Sure! go ahead 💪 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I'm trying to get notified when
attachment
andtargetAttachment
element change:top
andleft
positions.I'm initializing tether with this settings:
As you can see.
attachment
is vertically positionedbottom
andtargetAttachment
is vertically positioned withtop
.When I scroll the page I expect to change
attachment
totop
andtargetAttachment
tobottom
. And I want to receive this info onupdate
event like this:And it works first time 🎉 .
But if I scroll
.element
to initial positiontargetAttachment
andattachment
vertical position is not updated to their initial position.Check this gif and see how
Code pen with example:
https://codepen.io/andresgutgon/pen/JMYgyx?editors=1000
The text was updated successfully, but these errors were encountered: