schovi/react-iscroll

Cannot set State or run another function in onScrollEnd event

Opened this issue · 0 comments

Hi,

How to properly use the onScrollEnd event?
I successfully implement the onScrollEnd event, when it stop scrolling I print out something with console log and , the text shown. But when I try to run another function or setState one object. It's not working.

Please help. thanks.