Thom Eijken created CB-12875:
--------------------------------

             Summary: iOS Magnifying glass is showing wrong content in iFrame
                 Key: CB-12875
                 URL: https://issues.apache.org/jira/browse/CB-12875
             Project: Apache Cordova
          Issue Type: Bug
          Components: cordova-plugin-inappbrowser
    Affects Versions: cordova@7.0.0
            Reporter: Thom Eijken


Our app is opening certain third party web pages using the inAppbrowser and 
some of those pages (unfortunately) contain content in iFrames.

The issue occurs on iOS when you push and hold the screen to select text or use 
the magnifying glass to set the cursor in an input/textarea field. What happens 
is that the magnifying glass doesn't actually show the content within the 
iFrame, but it shows the content underneath the in-appbrowser (the page that 
launched the in-appbrowser).

I've created a very simple example to reproduce this. Just load test.html in 
the in-appbrowser and use the magnifying glass inside the iframe.

File: test.html
<html>
<body>
<iframe height="500" width="500" src="iframe.html" style="border:2px solid 
grey;"></iframe>
</body>
</html>

File: iframe.html
<html>
<body>
        <p>vhutriwbhrobh jbiortjtboirtw j bjrowijb iorwtj boirjgwobj org brw 
jborjgiobj rojb org iob roi jboirtjwbiojrtowbj orjw bojrtobj rtj borjwiob jrwio 
biorw b</p>
        <textarea rows="4" cols="50">vhreiuvhuierf hviu ehv oueh vo qv 
o</textarea>
</body>
</html>



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to