Open kaspar-allenbach opened 9 years ago
Hi I receive this message when using sticky:
`Uncaught TypeError: Cannot read property 'top' of undefined?
The line generating this error is: newStop = s.stopper != null ? $(s.stopper).position().top + $(s.stopper).height() : null,
newStop = s.stopper != null ? $(s.stopper).position().top + $(s.stopper).height() : null,
The sticky plugin does wrap my element with my-element-sticky-wrapperso it fires correctly. What's the issue here?
my-element-sticky-wrapper
Hi I receive this message when using sticky:
`Uncaught TypeError: Cannot read property 'top' of undefined?
The line generating this error is:
newStop = s.stopper != null ? $(s.stopper).position().top + $(s.stopper).height() : null,
The sticky plugin does wrap my element with
my-element-sticky-wrapper
so it fires correctly. What's the issue here?