w11k / angular-sticky-things

Sticky Directive for Angular 2+

Home Page:https://w11k.github.io/angular-sticky-things

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong size calculation with `marginTop`

csimpi opened this issue · comments

commented

Hi,
something is wrong with the spacer's size calculation method when I use marginTop attribute.
It handles the margin's value as a string and the height + margin values are concatenated as strings like: 5080px. The spacer covers my whole screen.

Duplicate of #23 . Fix coming with the next release!