Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1714] keyboardToolbar disappears in landscape mode (iPad)

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:56:57.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.6.0 M05
ComponentsiOS
Labelsdefect, ios, ipad, keyboard, release-1.6.0, toolbar
Reporterctredway
AssigneeBlain Hamon
Created2011-04-15T03:00:17.000+0000
Updated2011-04-17T01:56:57.000+0000

Description

When the iPad rotates to landscape the toolbar is no longer visible.

var btnPrev = Ti.UI.createButton({title:'Previous',height:33,width: 70});
var btnNext = Ti.UI.createButton({title:'Next',height:33,width: 70}); var tfUsername = Titanium.UI.createTextField({

    hintText:'enter your name',
    top: 10,
    left: 20,
    height:35,
    width:300,
    borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,
    keyboardToolbar:[btnPrev,btnNext],
    keyboardToolbarColor: '#999',   
    keyboardToolbarHeight: 440      
}); 
Ti.UI.currentWindow.add(tfUsername);

this was run against 1.4 & 1.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 in iPad (4.2.1) and iPad Simulator (4.2)

       var win = Ti.UI.createWindow({backgroundColor:'#ccc'});
       var btnPrev = Ti.UI.createButton({title:'Previous',height:33,width: 70});
       var btnNext = Ti.UI.createButton({title:'Next',height:33,width: 70});
       var tfUsername = Titanium.UI.createTextField({
           hintText:'enter your name',
           top: 10,
           left: 20,
           height:35,
           width:300,
           borderStyle:Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,
           keyboardToolbar:[btnPrev,btnNext],
           keyboardToolbarColor: '#999',   
           keyboardToolbarHeight: 44
       }); 
       win.add(tfUsername);
       win.open();
       

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

JSON Source