Opened 10 years ago

Closed 10 years ago

#8965 closed bug (notabug)

Spinner Control Stepping Issue

Reported by: [email protected] Owned by:
Priority: minor Milestone: none
Component: ui.spinner Version: 1.9.2
Keywords: Cc:
Blocked by: Blocking:

Description

I have ran into a couple issues with the spinner control where the stepping doesn't seem to be working as anticipated.

If you have a min value other than 0, it gets added to the step.
{step:10,min:03}
value = 50
step up: new value 63, expected 60
step down: new value 43, expected 40

The other issue is double stepping
{step:10,min:0,max:1000}
value = 101
step up: new value 110, expected 110
step down: new value 90, expected 100

value = 105
step up: new value 120, expected 110
step down: new value 10, expected 10

examples: http://jsfiddle.net/MWuf2/3/

Change History (1)

comment:1 Changed 10 years ago by Scott González

Resolution: notabug
Status: newclosed

None of these are bugs. The values are changes, then clamped. The steps start at the min.

Version 0, edited 10 years ago by Scott González (next)
Note: See TracTickets for help on using tickets.