Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

the toolbar does not disappear with the keyboard

$
0
0

var Cancel = Titanium.UI.createButton({ color : '#000', height : Ti.UI.SIZE, width : Ti.UI.SIZE, backgroundImage : 'none', title : 'Cancel',

});

var FlexSpace = Titanium.UI.createButton({
    systemButton : Titanium.UI.iPhone.SystemButton.FLEXIBLE_SPACE
});

var toolbar1 = Titanium.UI.iOS.createToolbar({
    items : [Cancel, FlexSpace],
    borderTop : true,
    borderBottom : false,
    translucent : true,
    barColor : '#999'
});

$.txtFiled1.keyboardToolbar = toolbar1;


Cancel.addEventListener('click', function(e) {

    $.txtFiled1.blur();

})

i am using the above code for dismissing toolbar..but sometimes toolbar not disappearing .titanium version 3.2.0


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>