Results 1 to 3 of 3

Thread: Scroll to bottom with 'regular' input field

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Feb 2011
    Posts
    35
    Vote Rating
    0
      0  

    Question Scroll to bottom with 'regular' input field

    I have a Sencha site, where I have a regular <input> text field on the site. When you click into this field on the iPhone, the keyboard pops up, as it should.

    But when I, with the keyboard still up, click anywhere on the page, it scrolls to the bottom, making the whole page jump.

    This does not happen with the sencha input fields.

    How can I avoid this? It is especially annoying when I have 2 input fields. You click the first one and get the keyboard... When you try to click the second one, the page scrolls to the bottom, so you can't even see the input fields.

    Any ideas?

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    If it doesn't happen when using ST fields, then use ST fields.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha User
    Join Date
    Feb 2011
    Posts
    35
    Vote Rating
    0
      0  

    Default

    It takes a lot of work to make fields into Sencha fields.

    I was wondering how the Sencha field got around the scroll-to-the-bottom thing.

    I ended up using Sencha fields and doing some heavy formatting on them.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •