You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Thom Eijken (JIRA)" <ji...@apache.org> on 2017/06/02 14:33:04 UTC

[jira] [Created] (CB-12875) iOS Magnifying glass is showing wrong content in iFrame

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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org