You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "sandstrom (JIRA)" <ji...@apache.org> on 2014/01/16 20:21:19 UTC
[jira] [Updated] (CB-5809) StatusBar plugin causes viewport drift
[ https://issues.apache.org/jira/browse/CB-5809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sandstrom updated CB-5809:
--------------------------
Description:
When using the Statusbar Plugin (which is awesome btw) to hide/show the statusbar, it seems like the viewport and/or document is affected such that anything attached to the bottom (via `position:absolute;`) drifts downwards, until it's unreachable.
To reproduce:
1. Attach some div to the bottom via absolute positioning
2. write `StatusBar.hide(); StatusBar.show();` 5 times in the console
3. Watch the div drift downwards.
The plugin in question (0.1.3):
https://github.com/apache/cordova-plugins/tree/master/statusbar
Possibly relevant configuration etc:
<preference name="HideKeyboardFormAccessoryBar" value="true" />
<preference name="KeyboardShrinksView" value="true"/>
<preference name="DisallowOverscroll" value="true" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, target-densitydpi=device-dpi">
was:
When using the Statusbar Plugin (which is awesome btw) to hide/show the statusbar, it seems like the viewport and/or document is affected such that anything attached to the bottom (via position:absolute;) drifts downwards, until it's unreachable.
To reproduce:
1. Attach some div to the bottom via absolute positioning
2. write `StatusBar.hide(); StatusBar.show();` 5 times in the console
3. Watch the div drift downwards.
The plugin in question (0.1.3):
https://github.com/apache/cordova-plugins/tree/master/statusbar
Possibly relevant configuration etc:
<preference name="HideKeyboardFormAccessoryBar" value="true" />
<preference name="KeyboardShrinksView" value="true"/>
<preference name="DisallowOverscroll" value="true" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, target-densitydpi=device-dpi">
> StatusBar plugin causes viewport drift
> --------------------------------------
>
> Key: CB-5809
> URL: https://issues.apache.org/jira/browse/CB-5809
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Environment: iOS 7.0
> Reporter: sandstrom
>
> When using the Statusbar Plugin (which is awesome btw) to hide/show the statusbar, it seems like the viewport and/or document is affected such that anything attached to the bottom (via `position:absolute;`) drifts downwards, until it's unreachable.
> To reproduce:
> 1. Attach some div to the bottom via absolute positioning
> 2. write `StatusBar.hide(); StatusBar.show();` 5 times in the console
> 3. Watch the div drift downwards.
> The plugin in question (0.1.3):
> https://github.com/apache/cordova-plugins/tree/master/statusbar
> Possibly relevant configuration etc:
> <preference name="HideKeyboardFormAccessoryBar" value="true" />
> <preference name="KeyboardShrinksView" value="true"/>
> <preference name="DisallowOverscroll" value="true" />
> <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no, target-densitydpi=device-dpi">
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)