garand / sticky

jQuery Plugin for Sticky Objects
Other
3.3k stars 1.06k forks source link

Can it work without wrap element? #259

Open ve3 opened 7 years ago

ve3 commented 7 years ago

My css contain > selector and with this plugin it wrap my sidebar and break my sidebar css which is break all other parts of the page. Is it possible to work without add wrapping element?

fdverwoerd commented 7 years ago

Yes please, in my case creating a wrapper around an already loaded iframe (DFP add) displays a blank add. I believe this is because the DOM is altered and content is 'forgotten'.

StreetStrider commented 7 years ago

Wrapper element is also a bad idea when sticky element is inside a table (like tr or thead).