You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And it works first time 🎉 .
But if I scroll .element to initial position targetAttachment and attachment vertical position is not updated to their initial position.
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: