View Full Version : [CLOSED-103] Spinner go nutso on iPhone

21 Jun 2010, 10:02 AM
Didn't see this in the known bugs so here it is... I have a spinner on a form with a textarea below it (it's the first thing in the form). I can't get it to happen reliably, but there are times when the spinner will just go crazy - count up at high speed, count down, etc. It clearly has something to do with focus and the keyboard, but I'm sorry to say I'm not exactly sure what. Also, if the focus is in the textarea and I click on +/-, it counts by 2.

21 Jun 2010, 10:12 AM
Can you post the source code and a short work through how to reproduce the bug

21 Jun 2010, 10:15 AM
It's part of a large-ish app that I'd rather not post all of, but here goes:

addCartCard = new Ext.form.FormPanel({
scroll: 'vertical',
items: {
xtype: 'fieldset',
title: 'Add Item to Order',
defaults: {
required: true,
labelAlign: 'left'
items: [{
xtype: 'spinnerfield',
id: 'qty',
label: 'Quantity',
value: 1,
minValue: 1
xtype: 'textarea',
id: 'comment',
label: 'Extra Info',
emptyText: 'Please enter any special instructions for this item.'
xtype: 'container',
cls: 'bBtn',
items: [{
xtype: 'button',
ui: 'action',
id: 'addCart',
text: 'Add to Cart',
handler: function(){
},{xtype:'spacer', height: 10},{
xtype: 'button',
id: 'checkout',
ui: 'action',
text: 'Add to Cart and Checkout',
handler: function(){

As for the count by 2 - the repro should be select the textarea so the keyboard comes up, then while it's up press + or - on the spinner. For the first bit, I don't have reliable repro yet, I imagine it has something to do with a finger sliding between focus and the buttons... I also noticed sometimes the keyboard pops up right away when coming into this formpanel (It's in a panel with card layout and gets activated after an item is selected from another screen)

8 Sep 2010, 1:15 PM
Can you reproduce this in 0.94?

14 Sep 2010, 3:24 PM
Are you able to reproduce this in 0.94 or 0.95? If so could you please get us a reliable test case so that we can get it fixed.

16 Sep 2010, 11:08 AM
Just bumping this one more time — is this still reproducible?

24 Sep 2010, 1:09 PM
Closing after no response. Please open another ticket if this is still an issue.