cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akrymski <...@git.apache.org>
Subject [GitHub] cordova-plugins pull request: CB-8337: Fix keyboardShrinksView for...
Date Sat, 30 May 2015 20:35:28 GMT
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 <notifications@github.com> 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.
    > 
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message