ngSticky
ngSticky copied to clipboard
Purpose of Setting 'height' CSS on Unstick
What is the purpose of setting an explicit 'height' style during the 'unStickElement' method call? Since the 'stickElement' method never sets that style there is no need to reset it during the unstick. In fact, setting an explicit height during the unstick can potentially cause bugs. If the 'sticky' element changes height, the next call to 'unstick' will undo those changes.
:+1: I have a styling issue caused by ngSticky setting the height
+1