[TIMOB-3231] iOS: Keyboard Toolbar is not displayed at modal window.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Low |
| Status | In Progress |
| Resolution | Unresolved |
| Affected Version/s | Release 3.0.0 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | api |
| Reporter | Kunio Murasawa |
| Assignee | Ingo Muschenetz |
| Created | 2011-04-15T03:40:04.000+0000 |
| Updated | 2015-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();
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.
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 !!
Tested on the iOS simulator using TiSDK 2.2.0v20120904101713, issue still valid.