WeCodePixels / theia-sticky-sidebar

Glues your website's sidebars, making them permanently visible while scrolling.
MIT License
569 stars 209 forks source link

No documentation for disableOnResponsiveLayouts which is enabled by default #51

Closed acjbizar closed 6 years ago

acjbizar commented 6 years ago

Sticky was working on some mobile devices, but not on others. By trial and error I found out this had to do with the width of the viewport. After trying a ton of different configurations (none of which helped one bit), I decided to read the source code, and that is where I found this option called disableOnResponsiveLayouts. Setting it to false when initializing did the trick. You might want to document this.

liviucmg commented 6 years ago

I'll document the option today, thanks for the suggestion and sorry I didn't add it sooner. :beers:

acjbizar commented 6 years ago

Thanks! Cheers!