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

ASF GitHub Bot commented on CB-8337:
------------------------------------

Github user akrymski commented on the pull request:

    https://github.com/apache/cordova-plugins/pull/18#issuecomment-107082152
  
    @Fmstrat it’s just basic js/css … assuming your app is wrapped in a <div> 
you can use css like this: 
    
    $(div).css(‘bottom’, keyboardHeight)
    
    the wrapper div should be absolutely positioned of course.  alternatively 
you can set a margin-bottom, but then you can’t use css transitions to animate 
the shrinking ...
    
    > On 30 May 2015, at 05:28, Fmstrat <[email protected]> wrote:
    > 
    > Ahh, I gave that a shot, thanks. I've got a console.log running with the 
keyboard height, but any idea where I can find an example of using JS to shrink 
the window height down? (Using jQuery Mobile in my app if that matters)
    > 
    > —
    > Reply to this email directly or view it on GitHub.
    > 
    



> Keyboard plugin resizes incorrectly with external keyboard attached
> -------------------------------------------------------------------
>
>                 Key: CB-8337
>                 URL: https://issues.apache.org/jira/browse/CB-8337
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Keyboard
>         Environment: iOS
>            Reporter: Connor Pearson
>
> When using an external keyboard, the keyboard plugin should only shrink the 
> webview enough to accommodate the accessory bar. It instead shrinks an area 
> the size of the full keyboard, leaving an empty space.
> See http://i.imgur.com/pKh53JR.png



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to