Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3231] iOS: Keyboard Toolbar is not displayed at modal window.

GitHub Issuen/a
TypeBug
PriorityLow
StatusIn Progress
ResolutionUnresolved
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsiOS
Labelsapi
ReporterKunio Murasawa
AssigneeIngo Muschenetz
Created2011-04-15T03:40:04.000+0000
Updated2015-04-13T20:17:09.000+0000

Description

Ti.UI.TextArea.keyboardToolbar is not displayed at modal window. (Titanium Mobile 1.6 / iOS SDK 4.2)
It is no problem in Titanium Mobile 1.5.1

Test code

var window = Ti.UI.createWindow({
    modal: true,    // If this line is deleted, keyboardToolbar is displayed. 
    title: 'window',
    backgroundColor: '#fff'
});
var trash = Ti.UI.createButton({
    systemButton: Ti.UI.iPhone.SystemButton.TRASH
});
var textarea = Ti.UI.createTextArea({
    editable: true,
    borderWidth: 1,
    keyboardToolbar: [trash]
});
window.add(textarea);
window.addEventListener('open', function () {
    textarea.focus();
});
window.open();

Comments

  1. shad 2011-04-15

    I'm seeing the same problem in my app. I have a window that's displayed inside of a navigation group. In one case it's in a modal window, and in another case, it is not. The toolbar is missing in the modal case.

  2. florent loose 2011-09-09

    Same problem here. This defect should be a critical one. I can't use something else than a modal window and I have a complex form to display. I will have to wait for this bug to be fixed before plublishing my app. please fix this !!
  3. Junaid Younus 2012-09-04

    Tested on the iOS simulator using TiSDK 2.2.0v20120904101713, issue still valid.

JSON Source