Weird thing happen to my React website. I’ve set style={maxHeight:…., overflow: ‘auto’} to enable scrolling. It’s working fine in Chrome but have an issue in Safari. After state changed, scroll is locked but I still can use mouse to scroll. Also, if I adjust browser size, scrolling will back to work again.
Please see example below. Sorry for the quality.
Example
I’m trying to make scrolling works in Safari. Any ReactJS expert please help!
New contributor
Jirayu Promsongwong is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.