Skip to content

Commit

Permalink
docs(material/slider): Page Up/Down increase value but not by 10 steps (
Browse files Browse the repository at this point in the history
#27854)

Change the documentation so it's clearer that the Page Up/Down buttons
of the slider component increase/decrease the value of the slider
by 10% (of the max value), rather than 10 steps as it was described previously.

Fixes #27402.

(cherry picked from commit 7369dfa)
  • Loading branch information
allexgut authored and mmalerba committed Sep 27, 2023
1 parent 17ec569 commit eea64bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/material/slider/slider.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ The slider has the following keyboard bindings:
| Up arrow | Increment the slider value by one step. |
| Left arrow | Decrement the slider value by one step (increments in RTL). |
| Down arrow | Decrement the slider value by one step. |
| Page up | Increment the slider value by 10 steps. |
| Page down | Decrement the slider value by 10 steps. |
| Page up | Increment the slider value by 10% (of the max value). |
| Page down | Decrement the slider value by 10% (of the max value). |
| End | Set the value to the maximum possible. |
| Home | Set the value to the minimum possible. |

Expand Down

0 comments on commit eea64bd

Please sign in to comment.