Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2197] iOS 3.2.2 and older (iPad/iPod/iPhone) : ScrollViews/text area - scroll view not scrolling with keyboard up after tapping out of the first field.

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:58:23.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M05
ComponentsiOS
Labelsios, ipad, iphoneidiom, release-1.6.0, scrollview, textarea
ReporterThomas Huelbert
AssigneeBlain Hamon
Created2011-04-15T03:13:14.000+0000
Updated2011-04-17T01:58:23.000+0000

Description

iPad 3.2.2, TiMobile sdk version 1.5.0.5dc262e

1.KS (iPhone idiom)>baseUI>Views>Scroll Views TextArea
2.tap into a text area to invoke keyboard, then try and scroll the view (works)
3.tap into a second text area, then try to scroll the view

results: scrolling no longer works for the view. 3.2.2 and earlier only. Not seeing this on 4.0 or 4.1

Comments

  1. Jeff Haynie 2011-04-15

    (from [bbca90499aa7caf3393ca91d04f9243428f24e8d]) [#1645 state:fixed-in-qa] [#1714 state:fixed-in-qa] [#2189 state:fixed-in-qa] [#2442 state:fixed-in-qa] [#1645 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2736 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2746 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2197 state:fixed-in-qa milestone:"Release 1.6.0 M05"] [#2746 state:fixed-in-qa milestone:"Release 1.6.0 M05"] Look ma, I fixed the keyboard! https://github.com/appcelerator/titanium_mobile/commit/bbca90499aa7caf3393ca91d04f9243428f24e8d"> https://github.com/appcelerator/titanium_mobile/commit/bbca90499aa7...

  2. Pedro Enrique 2011-04-15

    Tested the following code on iPad (4.2.1), iPad Simulator (4.2), and iPhone 1st Gen (3.1.3)

       var win = Ti.UI.createWindow({backgroundColor:'#ccc'});
       var scrollView = Ti.UI.createScrollView({
           contentHeight:'auto',
           contentWidth:'auto'
       });
       win.add(scrollView);
       var x = 10;
       for (var i = 0;i<20;i++){
           var ta1 = Titanium.UI.createTextArea({
               value:'I am a textarea',
               height:100,
               width:300,
               top:x,
               font:{fontSize:20,fontFamily:'Marker Felt', fontWeight:'bold'},
               color:'#888',
               textAlign:'left',
               borderWidth:2,
               borderColor:'#bbb',
               borderRadius:5
           });
           x=x+110;
           scrollView.add(ta1);
       }
       win.open();
       

    Working as expected on my test devices, but, it seems like iOS 3.2 on simulator does not work with 1.6
    Titanium's Console Log: http://pastie.org/private/p4k1pgdwbnos0gf3mtlhw">http://pastie.org/private/p4k1pgdwbnos0gf3mtlhw

    Could not test on iPad running iOS less than 4

    Ti SDK 1.6 (Jan 25 2011 17:39 r1ead074f)

  3. Pedro Enrique 2011-04-15

    Tested the same code with the same Ti SDK but with Ti.Dev. 1.3

    Getting the same Console Log, no matter if I select iPhone or iPad. If SDK is 3.2, Errors fill the console.

  4. Blain Hamon 2011-04-15

    The issue that changed the ticket state is unrelated to scrollviews, and should be in its own ticket.

  5. Thomas Huelbert 2011-04-15

    3.2 crash is now resolved. Bug confirmed on 3g iphone 3.1.2 and ipad 3g 3.2

  6. Jeff Haynie 2011-04-15

    (from [b3f5f044a965b3781e20576c18639cf8c340b7c5]) [#2197 state:fixed-in-qa] Added ability to pass an array as second argument to DB.execute. Backwards compatible with varargs as well. https://github.com/appcelerator/titanium_mobile/commit/b3f5f044a965b3781e20576c18639cf8c340b7c5"> https://github.com/appcelerator/titanium_mobile/commit/b3f5f044a965...

  7. Blain Hamon 2011-04-15

    Dyslexics of the world untie!

JSON Source