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

stop html component bouncing on ios

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: 150
Joined: Tue Aug 27, 2013 1:47 pm

stop html component bouncing on ios

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

thanks Sergiy, works great

Return to “Issues”