SyntaxFix
Write A Post
Hire A Developer
Questions
<div onScrollCapture={() => this._onScrollEvent()}></div> _onScrollEvent = (e)=>{ const top = e.nativeEvent.target.scrollTop; console.log(top); }