Results 1 to 3 of 3

Thread: Scroll to bottom with 'regular' input field

  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 User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,062
    Answers
    3976
    Vote Rating
    1390
      0  

    Default

    If it doesn't happen when using ST fields, then use ST fields.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    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
  •