palantir/blueprint

[RangeSlider] Allow double click on upper and lower bounds

Open

#5,134 opened on Feb 21, 2022

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

Description

Environment

  • Package version(s): v3.52.0
  • Browser and OS versions: MacOS Monterey 12.1

Feature request

RangeSlider provides the ability to choose a range between upper and lower bounds. It works great for simple case but when you are working with wide range for [0, 10000], it can quickly become quite annoying to select the good value. It could be a great addition to blueprint to add the ability to double click on bounds to show for example an Alert to directly fill desired bounds.

Examples

I quickly capture a website that provide this kind of feature, style is quite different but the idea still the same :

https://user-images.githubusercontent.com/9548473/154984660-a71f018c-7b02-4bb1-9484-8cf4725490cd.mov

Contributor guide