To enable vertical scrolling on a React component, be sure to give it a height value and an overflowY value of scroll.
Example:
const styles = { height: 256, overflowY: 'scroll' }
Figuring Out JavaScript One Mistake at a Time
To enable vertical scrolling on a React component, be sure to give it a height value and an overflowY value of scroll.
Example:
const styles = { height: 256, overflowY: 'scroll' }