Slider drags very slow
See original GitHub issueWhen I implemented this in a sample project it was working fine, but when I implement in my project It works like a slow-mo movie.
I used this in my search filter section, and there are lots of rendering every filter change corresponds to re-render.
this.state = {
filterParams: {
value:{
min:100,
max:7000,
},
},
};
<InputRange
ref="react_input_range"
maxValue={7000}
minValue={100}
step={100}
value={this.state.filterParams.value}
onChange={value => this.changePriceRangeHandler(value)}
/>
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:5
Top Results From Across the Web
How to drag slider wpf slower? - Stack Overflow
I want to update its work, so that the drag speed decreases, when the mouse cursor distance to the Slider increases. That means,...
Read more >slider drag handle responds slow in UI for ASP.NET AJAX
I have a slider with divs that get updated on clientside with the slider value. I noticed that my slidervalue changes first and...
Read more >Slight delay when dragging a slider in photoshop w...
However, when I start dragging the slider using my wacom pen it stays frozen on 30 for a short while (0.3-0.5 seconds) and...
Read more >Sprites drag following is slow, and how can i make responsive ...
Thats hard to make it that way. By responsive sliders i mean it is works on every screen, keeping the knob's size rate...
Read more >Is there a way to slow down sliders? : r/unrealengine - Reddit
Sliders are way too sensitive to drag and adjust them precisely. In Blender you can hold the shift key to have more precise...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
May be slightly unrelated but if that helps anyone consider that the transition property also contributes to making the slider thumb drag slowly.
Simply disable the built in transition property like so:
Before:
.input-range__slider-container { transition: left 0.3s ease-out; }
After:
.input-range__slider-container { transition: none; }
Also make sure to set:
Otherwise the slider bar will still have a transition.