stop html component bouncing on ios

This forum contains topics that were moved from Get Satisfaction
David wyatt
Posts: 0
Joined: Mon Sep 15, 2014 7:12 pm

stop html component bouncing on ios

Post by David wyatt »

HI,

I have a html component with the following css

div div.htmlOtherSite {
position: absolute;
right: 0;
bottom: 0;
left: 0;
top: 0;
-webkit-overflow-scrolling: touch;
overflow-y: scroll;
}

the issue i have ia that on ios the whole html window can bounce on both the x and y axis. i have a screen shot that shows how you can move it Image

Serhii Kulibaba
Posts: 147
Joined: Tue Aug 27, 2013 1:47 pm

stop html component bouncing on ios

Post by Serhii Kulibaba »

Hello,

Add CSS attribute:
overflow-x: hidden;

Or check this topic: http://www.chrishjorth.com/blog/phone...

David wyatt
Posts: 0
Joined: Mon Sep 15, 2014 7:12 pm

stop html component bouncing on ios

Post by David wyatt »

thanks Sergiy, works great

Post Reply