Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1902] iOS: Scrollview can scroll to much on ipad when keyboard is up

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-07-04T03:27:21.000+0000
Affected Version/sRelease 2.0.0
Fix Version/sRelease 1.5.0, Release 2.0.2, Release 2.1.0, Sprint 2012-07
ComponentsiOS
LabelsSupportTeam, core, module_scrollview, qe-testadded
Reporterctredway
AssigneeMax Stepanov
Created2011-04-15T03:05:07.000+0000
Updated2012-12-03T19:26:31.000+0000

Description

This can be recreated in KS Controls>Text Field>Border Style.

Comments

  1. Stephen Tramer 2011-04-15

    Does this only occur with the iPhone idiom? Going to test with iPhone idiom outside of Titanium to see if this is an Apple bug.

  2. Stephen Tramer 2011-04-15

    Also need to know your definition of "scroll too much" and how this differs from behavior on the iPhone. Screenshots are going to be required. iPhone idiom on iPad should present in the exact same manner as an iPhone, up to and including how many pixels are scrolled (relative to zoom, of course).

  3. Stephen Tramer 2011-04-15

    Ooops, should be assigned to Clint since he filed the ticket. Sorry Thom!

  4. Stephen Tramer 2011-04-15

    Problem only appears with text fields in scrollview or tableview. Going to add KS tests for these, and then fix.

  5. Jeff Haynie 2011-04-15

    (from [aa98abe4137a9d266102c7a6b83de9c52989fad0]) [#1902 state:fixed-in-qa] Scrollview is now resized on keyboard hide. Note that the lack of proper scroll animation appears to be an Apple bug. http://github.com/appcelerator/titanium_mobile/commit/aa98abe4137a9d266102c7a6b83de9c52989fad0"> http://github.com/appcelerator/titanium_mobile/commit/aa98abe4137a9...

  6. Thomas Huelbert 2011-04-15

    mobile sdk build 1.5.0.62c1cae 3.2.2

  7. Rick Blalock 2012-03-26

    This is still happening as of v2.0 CI http://screencast.com/t/86VNE2iOz https://gist.github.com/2209773 [code] var win1 = Titanium.UI.createWindow({ title:'Tab 1', backgroundColor:'#fff' }); var tf = Ti.UI.createTextField({ hintText: 'text field', borderStyle: Ti.UI.INPUT_BORDERSTYLE_ROUNDED, height: 35, width: 250 }); var scrollView = Ti.UI.createScrollView(); scrollView.add(tf); win1.add(scrollView); win1.open(); [code]
  8. Rick Blalock 2012-03-26

    This is an issue with a customer app. more to come...
  9. Max Stepanov 2012-04-04

    PR https://github.com/appcelerator/titanium_mobile/pull/1930 pending.
  10. Vishal Duggal 2012-04-05

    Fixed in master by PR 1930
  11. Natalie Huynh 2012-05-14

    Tested KS and attached test from Rick with 2.0.2.v20120514121649 on iPad 2 4.3.5
  12. Anshu Mittal 2012-07-04

    Reopening to update labels.
  13. Ygor Lemos 2012-12-03

    This is not fixed. Still happening on 2.1.4.GA
  14. Ygor Lemos 2012-12-03

    This is happening on iPhone. It seems I can get a temporary fix by calling tableView.setContentInsets({top: 0, bottom: 0, right: 0, left: 0}); on blur for all textFields and textAreas inside the tableView. Still not the best / expected behavior for this.
  15. Max Stepanov 2012-12-03

    Ygor, I just tested 2.1.4 and 3.0.0.RC with different iPhone/iPad versions and was not able to reproduce the issue. Please confirm your steps and attach sample code.

JSON Source