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
This is due to the fact that the resize event only fires for the window element. Context.prototype.createThrottledResizeHandler needs to have the 'resize.waypoints' event binding always be bound to the window element, regardless of context.
The text was updated successfully, but these errors were encountered:
@johngrogg Agreed this needs to be changed, but not exactly in the way proposed in the PR. Rather than bind create a windowAdapter for each context, each with its own resizeHandler, we can create one window adapter and throttle a call to Waypoint.refreshAll(). I believe Waypoints did this in the 2.x days and I can't for the life of me remember a reason why I would have removed it, except for forgetfulness.
This is due to the fact that the resize event only fires for the window element.
Context.prototype.createThrottledResizeHandler
needs to have the 'resize.waypoints' event binding always be bound to the window element, regardless of context.The text was updated successfully, but these errors were encountered: