Ticket #7933 (closed enhancement: wontfix)
slider: snapping of value to floor/ceil rather than always nearest step
|Reported by:||AlanKrueger||Owned by:|
Should there be an option that allows snapping a value to floor or ceil rather than whichever is closer?
For instance, say you have a text input and slider tied together, representing a maximum bid, with the slider set to $10 steps. If the user enters $55, this would result in the slider jumping to $60. This is greater than the maximum amount the user just entered, and seems like incorrect behavior.
If, however, there was an option to specify, say, stepType="floor" (rather than hypothetical default, stepType="round"), then the control would snap to the nearest lower value instead of the closest of the upper and lower.
- Status changed from new to closed
- Resolution set to wontfix
- Component changed from ui.core to ui.slider