[
https://issues.apache.org/jira/browse/CB-5852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13884316#comment-13884316
]
Michal Mocny commented on CB-5852:
----------------------------------
Alright, cleanup up the patch and did a bunch of testing on ios6 and 7.
Not all the cases are ever perfect on any of the platforms :( but we don't
currently implement a non shrinking view on iOS7 either way, and shrinking it
explicitly is causing layout issues which is a problem. So I changed the
shrinkview handler to just no-op on iOS7 until we actually look at implementing
a non-shrinking webview (if even possible).
The one downside is that now webview scrolling cannot be disabled on ios7 now.
I will look into re-adding that. But it seems to only work when shrinkview is
enabled and keyboard is open -- not sure what the use case is here?
> Keyboard plugin on iOS7 can cause re-layout bugs with fixed position bottom
> elements
> ------------------------------------------------------------------------------------
>
> Key: CB-5852
> URL: https://issues.apache.org/jira/browse/CB-5852
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS, Plugins
> Reporter: Michal Mocny
> Assignee: Michal Mocny
> Priority: Minor
> Labels: keyboard-plugin
>
> Pull Request for "fix": https://github.com/apache/cordova-plugins/pull/2
> Copying the description here:
> If there is a fixed position, bottom positioned element on the page, this
> keyboard plugin causes awkward re-layouts of the element on keyboard pop up
> -- but only occasionally (I can attach screenshots if you cannot reproduce).
> Repro steps:
> 1. Add to blank app:
> 2. 'cordova emulate ios' on ios7 simulator
> 3. click the input box to open keyboard
> 4. See input briefly in right position, then migrate to the top of page
> It appears there is a race of some kind, since it happens consistently when
> run in simulator outside of xcode via 'cordova emulate ios', but does not
> happen when using xcode debugging or when run on device.
> While this doesn't seem high priority, as far as I can tell, this code is not
> doing anything useful on ios7, so can just safely just be no-oped. WDYT?
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)