question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request

Is your feature request related to a problem? Please describe.

There is no way to select an upper and lower value (range) using the slider, which is useful for a lot of applications like a price filter.

Describe the solution you’d like

Add a new component called Range Slider (or an additional prop which transforms the existing slider) which has two SliderThumbs. One controls the upper limit and the other the lower limit. The Thumbs can’t cross over.

The value & defaultValue will accept an array of values [0, 100] & the onChange events will also return an array of values.

Describe alternatives you’ve considered

Antd have a nice Range Slider.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:68
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

24reactions
vincentbrigliacommented, Feb 22, 2021

I’d upvote it but can’t see it in the project board?

14reactions
segunadebayocommented, Jul 8, 2021

Thanks for the upvote. We’ve added this to the list of upcoming features in the roadmap

Read more comments on GitHub >

github_iconTop Results From Across the Web

How To Create Range Sliders - W3Schools
Learn how to create custom range sliders with CSS and JavaScript. Default: Square: Round: Image: Value: ...
Read more >
<input type="range"> - HTML: HyperText Markup Language
The range input type lets you ask the user for a value in cases where the user may not even care—or know—what the...
Read more >
21 CSS Range Sliders - Free Frontend
21 CSS Range Sliders. February 25, 2021. Collection of hand-picked free HTML and CSS range slider code examples. Update of May 2019 collection....
Read more >
rangeslider.js
Simple, small and fast JavaScript/jQuery polyfill for the HTML5 <input type="range"> slider element. Download v2.3.0. This project is on GitHub.
Read more >
RangeSlider | Dash for Python Documentation | Plotly
RangeSlider is a component for rendering a range slider. Users interact with a dcc.RangeSlider by selecting areas on the rail or by dragging...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found