garand / sticky

jQuery Plugin for Sticky Objects
Other
3.3k stars 1.06k forks source link

is-sticky class persists when scrolling to top in Edge using mousewheel #273

Open acjbizar opened 6 years ago

acjbizar commented 6 years ago

In IE Edge, when I scroll to the top of the page using the mousewheel, sticky elements remain sticky. When I drag the scrollbar to the top, however, it works fine. IE 11 appears not to have this problem.

vTodorov commented 6 years ago

+1 @acjbizar Did you find solution?

acjbizar commented 6 years ago

I did not, @vTodorov. In fact, our team just accepted this fact, so now we have a couple of websites in production that display this behavior in IE Edge.

vTodorov commented 6 years ago

@acjbizar I made fix in my fork. Take a look if fork is option for you.

acjbizar commented 6 years ago

Yes, this appears to work, and the solution makes total sense to me. Thanks, @vTodorov. I hope this change will be merged with the master branch.