hc-sticky icon indicating copy to clipboard operation
hc-sticky copied to clipboard

Long sidebar menu is cut off at the bottom when sticked

Open litajupiter opened this issue 5 years ago • 1 comments

I'm using this on a long, mobile-only menu that gets cut off at the bottom when I scroll. As of right now, this is all I'm using: $('#my-element-here').hcSticky({ stickTo: '#content' });

Do I need to enable/disable something to allow the menu to be scrollable when it is taller than the viewport? I thought followScroll being true by default would allow for this.

litajupiter avatar Dec 14 '18 19:12 litajupiter

I have that problem, but nothing really helped me, it happens only when sidebar just a little taller, than viewport Wherein I have settings with "top" > 0, and "bottom" > 0;

"bottom": 0, didn't help "followScroll" doesn't affect also neither "update" nor "refresh" commands doesn't change anything I think I'll have to rewrite some parts of this plugin, to find a solution

stormitornado avatar May 03 '19 13:05 stormitornado