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
Hello,
I don't think this repo is still active (unfortunately... this is a really good plugin), but maybe this could help someone stucked like me :
`handleResize: function() {
var _self = this;
_self.getItems();
_self.setWindowHeight();
}`
Since getItems needs to know the updated window height to decide between make the elements sticky or not, I think that setWindowHeight should be called before.
So both calls should be reversed, like in the init method, to avoid having sticky elements when the window is to small.
The text was updated successfully, but these errors were encountered:
Indeed this seems to be a better solution and I thought about it before use this library but I don't think that is really configurable for my specific behaviors, like limiting sticky content to parent container.
Hello,
I don't think this repo is still active (unfortunately... this is a really good plugin), but maybe this could help someone stucked like me :
`handleResize: function() {
var _self = this;
}`
Since
getItems
needs to know the updated window height to decide between make the elements sticky or not, I think thatsetWindowHeight
should be called before.So both calls should be reversed, like in the
init
method, to avoid having sticky elements when the window is to small.The text was updated successfully, but these errors were encountered: