ngSticky icon indicating copy to clipboard operation
ngSticky copied to clipboard

`unStickElement()` sets z-index to 10 instead of restoring original z-index (or no z-index)

Open rDr4g0n opened this issue 8 years ago • 0 comments

unStickElement() has a hardcoded z-index of 10, where other properties that are restored on unstick are taken from initialCSS. z-index is preset in initialCSS, so setting it back to the previous value should be easy. If forcing it to 10 is intentional, maybe add a comment to describe the reason for the behavior.

rDr4g0n avatar Jun 22 '16 14:06 rDr4g0n