-
16 Aug 2012 7:34 AM #11
Hey guys,
As a workaround I just added a listener to the pickers show/hide event! Put this code on your Form.field.Select:
Code:initialize: function() { // select picker var picker = null; if (this.getUsePicker()) { picker = this.getPhonePicker(); } else { picker = this.getTabletPicker(); } this.callParent(arguments); picker.on({ scope: this, show: 'handleFocus', hide: 'handleHide' }); }, handleFocus: function() { this.addCls('pressed'); }, handleHide: function() { this.removeCls('pressed'); }
-
24 Aug 2012 1:50 AM #12
Had the same bug for ages, I finally found what may be a temporary workaround for the solution.
I have the listeners array in the configs which contains something on these lines.
I've tested this using both the selectfield and the pickerfield (where I was having the same issue), seems to work for meCode:listeners : {focus:function(p,e){//add this to the first line of your focus method document.activeElement.blur();}}
Success! Looks like we've fixed this one. According to our records the fix was applied for
TOUCH-1209
in
Sprint 24 (2.1.0-b3).


Reply With Quote