lukehaas / Scrollify

A jQuery plugin that assists scrolling and snaps to sections.
MIT License
1.8k stars 578 forks source link

Recalculate heights on event #388

Closed thecodingaviator closed 5 years ago

thecodingaviator commented 5 years ago

Is there a way I can get scrollify to recalculate section heights every time an event happens. I am using a details-summary pair and want the scroll to work regardless of whether the summary is open or not

lukehaas commented 5 years ago

Call $.scrollify.update()

thecodingaviator commented 5 years ago

Thanks