Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8417] iOS: Textfield in a scrollview scrolls if bluetooth keyboard is connected to iPad

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2012-04-13T14:29:39.000+0000
Affected Version/sRelease 1.8.2
Fix Version/sRelease 2.0.2, Release 2.1.0, Sprint 2012-08
ComponentsiOS
LabelsSupportTeam, api, qe-port
ReporterVarun Joshi
AssigneeMax Stepanov
Created2012-03-29T11:17:54.000+0000
Updated2012-05-17T15:58:19.000+0000

Description

Code

Please test on the iPad device

{noformat} var win = Ti.UI.createWindow({ backgroundColor:'white' }); var field = Ti.UI.createTextField({ hintText: 'password', color:'#666', width:'94%', left: '3%', top: 140, width: '50%', height: 45, borderRadius:0, borderStyle:Titanium.UI.INPUT_BORDERSTYLE_BEZEL, passwordMask: true }); var scroll = Ti.UI.createScrollView({ left: 11, top: 12, width: 433, height: 390, contentHeight:'auto', contentWidth: 'auto', }); scroll.add(field); win.add(scroll); win.open(); {noformat}

Expected Behavior

Clicking on the textField should not scroll it up when a bluetooth keyboard is connected to the iPad.

Actual Behavior

On connecting the keyboard and clicking on the textfield, the textfield scrolls up as if the soft keyboard is present.

Comments

  1. Max Stepanov 2012-04-11

    PR pending https://github.com/appcelerator/titanium_mobile/pull/1976
  2. Natalie Huynh 2012-05-14

    Tested with 2.0.2.v20120514121649 on iPad 3 5.1.1

JSON Source