如何处理它们在查询移动中跳出(键盘打开时)?

我正面临一个问题,当用户点击文本字段时我的上升了吗?我正在使用query mobile 1.3。 这是我同样的问题。 为什么在文本字段中输入文本时它们会上升?

解决方案jQuery Mobile Responsive Panel和Textarea我使用此解决方案但未获得正确的结果。 这是我的手机1.3 js http://jsfiddle.net/fMWnz/

在哪一行我应该改变,以便它可以工作

(function(root, doc, factory) { if (typeof define === "function" && define.amd) { // AMD. Register as an anonymous module. define(["jquery"], function($) { factory($, root, doc); return $.mobile; }); } else { // Browser globals factory(root.jQuery, root, doc); } }(this, document, function(jQuery, window, document, undefined) { (function($) { $.mobile = {}; }(jQuery)); (function($, window, undefined) { var nsNormalizeDict = {}; 

这是你的答案.. 由于虚拟键盘导致的window.resize会导致jquery mobile出现问题

 1) Go into jquery.mobile-1.xxjs 2) Find $.mobile = $.extend() and add the following attributes: last_width: null, last_height: null, 3) Modify getScreenHeight to work as follows: getScreenHeight: function() { // Native innerHeight returns more accurate value for this across platforms, // jQuery version is here as a normalized fallback for platforms like Symbian if (this.last_width == null || this.last_height == null || this.last_width != $( window ).width()) { this.last_height = window.innerHeight || $( window ).height(); this.last_width = $(window).width(); } return this.last_height; }