From slack, @pixelzoom asked:
Does NumberSpinner not support keyboardStep and shiftKeyboardStep? Or am I looking in the wrong place?
It currently does not. NumberSpinner sets keyboardStep, shiftKeyboardStep, and pageKeyboardStep to 0 so that all arrow-key input goes through synthetic arrow-button clicks and uses deltaValue. This was our intentional design many years ago.
That makes keyboard input slow for small deltaValue values, and is different from NumberControl. For NumberControl, all keyboard step options are available (although that component has an actual slider).
Should we revisit this design? Should NumberSpinner support keyboardStep and shiftKeyboardStep? If so, what should the arrow buttons look like when keyboard input changes the value by a different amount than clicking the button?
From slack, @pixelzoom asked:
It currently does not. NumberSpinner sets
keyboardStep,shiftKeyboardStep, andpageKeyboardStepto 0 so that all arrow-key input goes through synthetic arrow-button clicks and usesdeltaValue. This was our intentional design many years ago.That makes keyboard input slow for small
deltaValuevalues, and is different from NumberControl. ForNumberControl, all keyboard step options are available (although that component has an actual slider).Should we revisit this design? Should
NumberSpinnersupportkeyboardStepandshiftKeyboardStep? If so, what should the arrow buttons look like when keyboard input changes the value by a different amount than clicking the button?