Vilius Dumčius Vilius Dumčius - 1 year ago 78
Javascript Question

Div scrolling inside map on apple

I have a little problem. I'm cleaning some bugs on particular page. There on the right side is a map which has some markers. When you click on marker some info appears in a box. I have set that box to overflow: auto. The problem is: when you open that page in apple production, that box (which shows up by clicking on marker) doesn't scroll, whole website is scrolling. On androids everything is working fine.

Any suggestions?


Answer Source

try this -webkit-overflow-scrolling: touch;

Useful materials: