palantir/blueprint

Feature request: Ability to reverse the up/down buttons on NumericInput

Open

#4,706 opened on May 8, 2021

View on GitHub
 (0 comments) (0 reactions) (0 assignees)TypeScript (2,167 forks)batch import
P2Package: coreType: feature requesthelp wanted

Repository metrics

Stars
 (20,263 stars)
PR merge metrics
 (Avg merge 43d 10h) (27 merged PRs in 30d)

Description

I'm trying to use NumericInput to allow users to page through a long document. For paging, the natural order of the up/down buttons is the opposite of the way the control works (up button should be previous page, down button should be next page). I tried to achieve this by using a negative stepSize, but that causes an error.

Edit: This change should also apply to using the up/down arrow keys when focus is on the value input box. Up arrow should decrement, down arrow should increment.

image

Contributor guide