Search the Community
Showing results for tags 'pin animation with accordion'.
Found 1 result
GSAP PinSpacing Issue with BS4 Accordion Dynamic height
codeSanjay posted a topic in GSAPI have defined some specific end value to the pinAnimation. And the BS4 have accordion with dynamic content. Here the issue is, the scrollHeight is not being refreshed when accordion collapses. I tried using ScrollTrigger.refresh() but it's not solving the issue too. Is there anyway to refresh the scroll height dynamically.