1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Browser Issue Zoomin images and scrolling to the left with iOS 8 - RTL

Discussion in 'Resolved Bug Reports' started by Moshe1010, Oct 27, 2014.

  1. Moshe1010

    Moshe1010 Well-Known Member

    Looks like zooming images and scrolling to left (where the image is actually hidden while zooming) is impossible with RTL (works fine with LTR) on any iPhone that has iOS 8 or 8.1.
     
    rellect likes this.
  2. Mike

    Mike XenForo Developer Staff Member

    Unfortunately, from our tests, this appears to be an iOS8 regression (it doesn't happen in 7.1). I was able to boil it down to this as a test case:
    Code:
    <!DOCTYPE html>
    <html dir="rtl">
    <head>
        <meta name="viewport" content="width=device-width, initial-scale=1">   
        <title>iOS8 RTL test</title>
    </head>
    <body>
    
    <div style="background: linear-gradient(to right, yellow, red, blue, green, orange); position: absolute; width: 2000px; height: 200px; right: 20px; left: auto; top: 10px"></div>
    
    </body>
    </html>
    iOS8 seems to think it's scrolled all the way to the left already. Unfortunately, I can't see a way to workaround this, so we'll simply need to report it to Apple and wait for a fix from them (along with various other iOS8 specific bugs we've seen...).
     
  3. Mike

    Mike XenForo Developer Staff Member

    I can simplify the div further to:
    Code:
    <div style="background: linear-gradient(to right, yellow, red, blue, green, orange);  width: 2000px; height: 200px;"></div>
    So it's really just horizontal scrolling on an RTL page that seems to be completely broken...
     
    Moshe1010 likes this.

Share This Page