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.

Don't animate the handle while dragging

See original GitHub issue

I’ve noticed that when dragging the slider on phone, it feels laggy. This is because of the animation that slows it down.

The animation should be disabled while the user is dragging the slider. On angularjs-slider, I simply did it by applying a specific class (https://github.com/angular-slider/angularjs-slider/blob/master/src/rzslider.less#L21) during the drag event.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:5
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
piotrdzcommented, Jun 28, 2019

Thanks, that’s a good idea. I’ll do this.

1reaction
piotrdzcommented, Nov 4, 2020

Released in v2.0.1. Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix dragging animation in UI with simple math
If the card is being dragged towards right it should rotate clockwise and anticlockwise when being dragged left. Not just that, the rotation ......
Read more >
Solved: Dragging handle revealing image HTML5 - 10412250
I made small demo, currently Button Symbol has hover animation sliding the top layer left to get you the idea. Blue handle should...
Read more >
[BUG] Stop scrolling from interfering with dragging #185 - GitHub
I just build a nice slider using the drag="x" functionality, when I ran into this issue. The component takes up most of the...
Read more >
Handle of Tool is Not moving at all - DevForum | Roblox
I'm very confused as to how to make the tool move as it does in the animation: But when the tool is equipped...
Read more >
Sortable Handle, drag animation always left - Stack Overflow
Whenever I want to drag it , the animation starts automatically from the leftside, when the handle is on the right.
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