Page 1 of 1

stop html component bouncing on ios

Posted: Mon May 04, 2015 8:52 pm
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


stop html component bouncing on ios

Posted: Tue May 05, 2015 8:05 pm
by Serhii Kulibaba

Hello,

Add CSS attribute:
overflow-x: hidden;

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


stop html component bouncing on ios

Posted: Wed May 06, 2015 7:14 am
by David wyatt

thanks Sergiy, works great