palantir/blueprint

[RangeSlider] Allow double click on upper and lower bounds

Open

#5,134 建立於 2022年2月21日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (20,263 star) (2,167 fork)batch import
P2Package: coreType: feature requesthelp wanted

描述

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

貢獻者指南