You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Pieter Biesemans (JIRA)" <ji...@apache.org> on 2016/10/13 15:34:20 UTC

[jira] [Created] (CB-12013) input caret position wrong when scaling iframe

Pieter Biesemans created CB-12013:
-------------------------------------

             Summary: input caret position wrong when scaling iframe
                 Key: CB-12013
                 URL: https://issues.apache.org/jira/browse/CB-12013
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 3.5.0
         Environment: iOS 10 on iPad 3
            Reporter: Pieter Biesemans
            Priority: Critical


When loading content through an iframe that is scaled or embedded in a scaled page (through css transfrom:scale()) the caret position of the input is wrong.

We loaded a simple form through an iframe. This form is part of a presentation, which is scaled down or up to fit the screen. When selecting an input to input some data (be it a text input, number input, contenteditable div, ...) the OS treats the input as if it is in the location it was before the scaling was applied.

The issue is only present when running in Cordova. We cannot replicate it running the same code in Safari or Chrome on the same device.

Screenshot (when selecting the textarea): http://imgur.com/JllMQmg 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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