Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16046] iOS7: keyboardToolbar disappears after focussing textField 2-3 times

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2013-12-27T01:28:53.000+0000
Affected Version/sRelease 3.1.3
Fix Version/s2013 Sprint 26, 2013 Sprint 26 API
ComponentsiOS
Labelsn/a
ReporterEduardo Gomez
AssigneeSabil Rahim
Created2013-12-19T00:28:16.000+0000
Updated2017-03-20T17:17:37.000+0000

Description

Issue description

This happens in both iOS 6 and 7 devices with Ti SDK 3.1.3.GA

Steps to replicate

To replicate focus the text field and then dispose the keyboard clicking the done button multiple times (it may require 2-3 times). Important: Reproducible only at device (iPhone 4 with iOS 7.0.3)

Runnable sample

var win = Ti.UI.createWindow({
	backgroundColor : 'white'
});

var fixedSpace = Ti.UI.createButton({
	systemButton : Ti.UI.iPhone.SystemButton.FIXED_SPACE,
	width : 213
});
var doneButton = Ti.UI.createButton({
	right : 10,
	width : 85,
	height : 30,
	backgroundImage : 'global-btn-up.9.png',
	color : 'Black',
	font : {
		fontSize : 14,
		fontFamily : 'Helvetica Neue',
		fontWeight : 'Bold',
	}
});
doneButton.addEventListener('click', function(e) {
	textField.blur();
});
var textField = Titanium.UI.createTextField({
	borderStyle : Titanium.UI.INPUT_BORDERSTYLE_BEZEL,
	hintText : 'Focus to see keyboard with toolbar',
	keyboardToolbar : [fixedSpace, doneButton],
	keyboardType : Ti.UI.KEYBOARD_NUMBER_PAD,
	keyboardToolbarColor : '#999',
	keyboardToolbarHeight : 40,
	top : 10,
	width : 300,
	height : 35
});

win.add(textField);
win.open(); 

Attachments

FileDateSize
global-btn-up.9.png2013-12-19T00:28:16.000+00001674

Comments

  1. Stephen Feather 2013-12-19

    Duplicate of TIMOB-15940
  2. Lee Morris 2017-03-20

    Closing ticket as duplicate.

JSON Source