Any experience handling mobile keyboard height?

boatBurner

shutup, crime!
Feb 24, 2012
1,522
35
0
I suck at javascript, but I'm working with some JS that defines content height for a dynamic container. Two views include a collapsed, excerpt view and an expanded, full post view toggled by "Less" and "More" buttons respectively.

Currently, I'm accounting for the height of the Wordpress admin bar, header, and footer. When expanded, the comment form becomes visible at the bottom of the container. If a mobile user selects an input, the keyboard opens up and the container resets to its collapsed excerpt view. This also happens when I open up built-in browser extensions like Firebug.

Posted this on SO but just trying my luck here as well. Thanks in advance.

Code here