- Where Developers Learn, Share, & Build Careers


When using the jQuery mobile dialog with a focus input field, the page will appear continuously due to the keyboard that appears Scroll up. It's on a small phone (HTC Explorer), but this problem is not present in big phones such as HTC Sensation.

When you remove the keyboard from the screen, the problem disappears.

Does anyone know any way to fix this?

Thanks in advance

Let me basically return this page to the top Scrolled by:

  $ ('# myInput'). Tie ('Focus', Function (Event) {window.scrollTo (0, 0); document.body.scrollTop = 0;});    

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -