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
according to React documents(https://reactjs.org/docs/handling-events.html),
React events are named using camelCase, rather than lowercase. You can set attributes as you do with pure HTML.
HTML:
...
JSX:
you should create a wrapper block element which has fixed height to enable scroll.