I\'m trying to add an onScroll event on a table. This is what I\'ve tried:
onScroll
componentDidMount() { ReactDOM.findDOMNode(this.refs.table).addEv
You can use onScroll attribute:
listenScrollEvent() { console.log('Scroll event detected!'); } render() { return ( [...] ) }
Here is an example: https://jsfiddle.net/81Lujabv/