[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2014-03-28 Thread Chris Emerson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13950539#comment-13950539
 ] 

Chris Emerson commented on CB-4862:
---

For whatever it's worth - viewports are still a sensitive/tedious topic. I have 
to maintain separate viewport tags for ANDROID and iOS otherwise crazy things 
happen. I realize this comment lacks tactical/actionable detail - mainly I'm 
just posting to find out if anyone is looking at removing this issue so we 
(Cordova/PhoneGap devs) can soon just pick ONE viewport tag and it magically 
works on all devices.

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7, keyboard-plugin
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2014-01-28 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13884549#comment-13884549
 ] 

Shazron Abdullah commented on CB-4862:
--

This *might* be resolved with the change in CB-5852. If you can take a look.

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7, keyboard-plugin
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2014-01-28 Thread Chris Emerson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13884003#comment-13884003
 ] 

Chris Emerson commented on CB-4862:
---

Thanks Shazron. Unfortunately hooks are just above my grasp at the moment - 
I've read some articles on them but I just don't get them yet (i.e. not sure 
how to really create/use them in even a general way let alone the specific way 
I'd need them for this issue). 

Any chance you can predict how this issue is going to pan out with Cordova? 
Will we have to have two different viewports for Android/iOS forever or will 
the ShrinkKeyboard behavior in iOS get fixed/reverted back to how it behaved 
prior to iOS7? Any insight you could share would help me plan things on my end. 
My main concern is that this loose end is going to remain a painful step in our 
deployment and testing process.

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7, keyboard-plugin
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2014-01-17 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13875425#comment-13875425
 ] 

Shazron Abdullah commented on CB-4862:
--

You don't have to do manual - have you considered hooks? 
http://photokandy.tumblr.com/post/47426024187/cordova-cli-simple-hooks-and-merges

I agree that is pretty nasty - I was going to suggest the "merges" folder but 
that won't help you

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7, keyboard-plugin
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2014-01-17 Thread Chris Emerson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13874846#comment-13874846
 ] 

Chris Emerson commented on CB-4862:
---

FYI - I've encountered my first real-world problem with this unresolved issue. 

If I use the "fixed" viewport tag (mentioned above) my Android phone apps zoom 
themselves out like they're tablets. But if I remove the "fixed" viewport tag 
the iPhone keyboard problem comes back (where the viewport resizes when the 
keyboard shows up). SO ... for now I have to give my Android HTML pages one 
viewport tag and my IOS HTML pages a different viewport tag - very painful as 
it makes my CLI-drive workflow pretty pointless since I have to make manual 
changes after every [$ cordova build] statement.

Any updates or advice here?

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7, keyboard-plugin
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2014-01-08 Thread Chris Emerson (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13865319#comment-13865319
 ] 

Chris Emerson commented on CB-4862:
---

Has anyone truly answered Adrian Vasiliu's great point above 
([link](https://issues.apache.org/jira/browse/CB-4862?focusedCommentId=13797718&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13797718)
 )? While the meta tag shown above does seem to resolve the issue the CDV docs 
tell us to not use that meta-tag in it's entirety to avoid other problems. 

- [Adrian's 
Comment](https://issues.apache.org/jira/browse/CB-4862?focusedCommentId=13797718&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13797718)
- [Related Meta Tag Bug](https://issues.apache.org/jira/browse/CB-4323)
- [CDV Docs saying avoid 
tag](http://cordova.apache.org/docs/en/3.3.0/guide_platforms_ios_upgrading.md.html#Upgrading%20iOS)

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2013-11-11 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13819201#comment-13819201
 ] 

Shazron Abdullah commented on CB-4862:
--

Is this related? http://stackoverflow.com/a/19628776

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2013-10-28 Thread Rafael Schettino (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806978#comment-13806978
 ] 

Rafael Schettino commented on CB-4862:
--

I fixed this issue on my project by javascript.
On index.html, I added onResize function on the body tag:
{code:xml}

{code}
On my global script file, I added this code:
{code:title=Bar.javaScript}
function onResize(){
var ios7 = (device.platform == 'iOS' && parseInt(device.version) >= 7);
if (ios7){
var height = $('body').height();
if (height < 350){ // adjust this height value conforms to your 
layout
$('.myBottomMenu').hide();
}
else {
$('.myBottomMenu').show();
}
}
}
{code}

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2013-10-28 Thread Rafael Schettino (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806896#comment-13806896
 ] 

Rafael Schettino commented on CB-4862:
--

I've same problem using Cordova 3.1. I setted my KeyBoardShrinksView=false and 
changed my viewport metatag, but the problem continues.
My toolbox is on the bottom (position:absolute, bottom:0px). When the 
softKeyboard gets up, my toolbox gets up together.
Cordova throws any event when the keyboard is opened and closed?

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2013-10-17 Thread Adrian Vasiliu (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13797718#comment-13797718
 ] 

Adrian Vasiliu commented on CB-4862:


As far as I can see, this still holds for Cordova 3.1: even if 
KeyboardShrinksView is set to false and height=device-height is not set in the 
meta tag, the view is resized when the keyboard comes up.

On the other side, the Cordova 3.1 documentation states that 
height:device-height should NOT be used on iOS 7 (for good reasons, because it 
brings other troubles): 
"iOS 7 issues: Remove the values "width=device-width, height=device-height" 
from your meta tag "viewport" attribute' 
(http://cordova.apache.org/docs/en/3.1.0/guide_platforms_ios_upgrading.md.html#Upgrading%20iOS).
 See also https://issues.apache.org/jira/browse/CB-4323 .

Hence, I wonder if this issue shouldn't be reopen (for Cordova 3.1).



> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.



--
This message was sent by Atlassian JIRA
(v6.1#6144)


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2013-09-19 Thread Jake Williams (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13771935#comment-13771935
 ] 

Jake Williams commented on CB-4862:
---

Well... someone at work found the solution. We had this meta tag...



Which needed to be changed to this...



Making a new cordova project automatically included the new meta tag, that's 
why I couldn't recreate the issue.  So, if anyone stumbles onto this post 
because they're having page resizing issues... check your meta tags.

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2013-09-18 Thread Jake Williams (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770838#comment-13770838
 ] 

Jake Williams commented on CB-4862:
---

I'm currently trying to get a basic test case to demonstrate the problem, but 
I'm not having much luck so far.  The problem occurred on 2.8.0.  I tried 
updating the CDVViewController.m file to include the ios 7 changes that haven't 
been released yet but it didn't effect anything in our codebase.

I'm going to keep trying to get a working test project.  It would be easier if 
the safari web inspector would work correctly with ios 7.

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (CB-4862) ios 7 keyboard resizes the page even with KeyboardShrinksView set to false

2013-09-17 Thread Shazron Abdullah (JIRA)

[ 
https://issues.apache.org/jira/browse/CB-4862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13770097#comment-13770097
 ] 

Shazron Abdullah commented on CB-4862:
--

Please provide a sample self-contained test page where we can test this and be 
on the same page for issue resolution. Also, confirming that you only tested 
this on 2.8.0, not 3.0.0

> ios 7 keyboard resizes the page even with KeyboardShrinksView set to false
> --
>
> Key: CB-4862
> URL: https://issues.apache.org/jira/browse/CB-4862
> Project: Apache Cordova
>  Issue Type: Bug
>  Components: iOS
>Affects Versions: 2.8.0
> Environment: ipod 5th gen ios 7 and simulator for ios 7
>Reporter: Jake Williams
>Assignee: Shazron Abdullah
>  Labels: ios7
>
> We have a page with a fixed footer and some inputs.  In previous ios versions 
> the page would be pushed up when an input was focused and the keyboard came 
> up.  In ios 7, the page height is reduced to the available space after the 
> keyboard appears and the footer covers the input (depends on the position of 
> the footer, but it does happen sometimes).  There is also a problem where the 
> input could be beneath the keyboard if you have multiple inputs and you use 
> next/previous to move between them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira