Closed
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
14.2.7
Description
According to the documentation, the slider should increase the value by 10 steps when using Page Up/Page Down keys.
It instead increases/decreases by a different number of steps.
Reproduction
StackBlitz link: 500 Internal server error for Stackblitz.... but the issue can be reproduced on the official Material demo
Steps to reproduce:
- Go to: https://material.angular.io/components/slider/examples#slider-configurable
- Type '9999' as the max value
- Use the Page Up/Page Down keys to increase/decrease value
Expected Behavior
The value is increased/decreased by 10 steps.
Actual Behavior
The value is increased/decreased by 1000 steps for max value 9999,
the value is increased/decreased by 100 steps for max value 1000,
not by 10 steps, like in the documentation.
The step is not set, so I assumed a default of 1 x 10 = 10 steps.
Using the arrows, the value is increased/decreased correctly, by 1 step.
Happens on both angular 15 and 16.
Environment
- Angular: 15.2.9
- CDK/Material: 15.2.9
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows
Metadata
Metadata
Assignees
Labels
This issue is related to accessibility (a11y)An issue that is relevant to core functions, but does not impede progress. Important, but not urgentRelated to the documentationThis issue is a good place to start for first time contributors to the projectThe team would appreciate a PR from the community to address this issue