ngx-slider icon indicating copy to clipboard operation
ngx-slider copied to clipboard

Slider drag performance issue

Open mbelin-hvs opened this issue 5 years ago • 8 comments

The sliders suffers from performance issues when dragging if there are a lot of components on the page. This can be seen on the demo page.

slider-drag-perf

It seems that in the demo, the DynamicallyCreatedSlidersComponent spamming onChange causes most of the perfomance issue, but there is still some lag during the drag after removing it :

slider-drag-perf-nospam

Is there a plan to have the component use changeDetection: ChangeDetectionStrategy.OnPush to help with the performance ?

mbelin-hvs avatar Nov 30 '20 10:11 mbelin-hvs

For anyone looking for a quick fix. Downgrade to 2.0.1. In 2.0.2 there are already issues, although they are not as severe as in 2.0.3 for me.

wullli avatar Dec 09 '20 14:12 wullli

Any update on this?

Thijmen avatar Feb 19 '21 19:02 Thijmen

Experiencing the same issues. :/ Any updates?

maxnuglisch avatar Mar 15 '21 09:03 maxnuglisch

Same issues using Ionic 5, in chrome it scrolls fine in vertical but in mobile it is horrible as the gif presented above. I downgrade from 2.0.3 to 2.0.1 and not change, the problem still exists.

ToniTorresDev avatar Apr 22 '21 10:04 ToniTorresDev

Same issue nowadays even with 2.0.4 version. No updates??

Nuajan avatar Feb 18 '22 16:02 Nuajan

10 of November 2022 and I am having the same problem. Any updates?

Simonioa avatar Nov 10 '22 19:11 Simonioa

Experiencing the same issue. Any update on the fix please?

ananthay avatar Feb 02 '23 01:02 ananthay

No still no fix on that. It's a shame because it would be something great to use

Simonioa avatar Feb 02 '23 07:02 Simonioa