thebuilder / react-scroll-percentage

Monitor the scroll percentage of a component inside the viewport, using the IntersectionObserver API

Home Page:https://thebuilder.github.io/react-scroll-percentage/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Required code for example

rahuljain-tt opened this issue · comments

Scrolling is not smooth as explained in example demo: https://thebuilder.github.io/react-scroll-percentage/

Can you please share the code of this demo?

Hi @rahuljain-tt - you can find the code for the examples in the story file:
https://github.com/thebuilder/react-scroll-percentage/blob/master/stories/ScrollPercentage.story.js

But it doesn't do anything special, compared to the readme example