Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Keyboard hides textfield in last row of tableview

I have a tableview with a few rows of data. My last row has a textfield in it. When the textfield receives focus, the keyboard pops up and pushes the row above the keyboard just as I expect.

When I "done" the keyboard, it goes away as expected. If I scroll back to the top of the tableview and focus on the textfield again, the keyboard goes over top of the textfield, it won't move the row above the keyboard like it did previously. I can't see the text in the textfield I'm editing. Why is this? Smells like a bug to me.

— asked September 25th 2010 by B Ben
  • iphone
  • keyboard
  • tableview
  • textfield
0 Comments

2 Answers

  • Probably a bug, but you can "hackfix" it by putting a "ScrolltoTop()" or "ScrolltoIndex(0);" when the TextArea is clicked.

    — answered September 25th 2010 by Colton Arabsky
    permalink
    0 Comments
  • I ended up writing a function to figure out what value i needed to stub in the float parameter for scrollToTop() and now I have it adjusting properly. Kind of strange, this work around should work for now, but it definitely seems like a bug somewhere.

    — answered September 26th 2010 by B Ben
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.