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.

Disabling animations

See original GitHub issue

I’m submitting a … (check one with “x”)

[ ] bug report => search github for a similar issue or PR before submitting
[X] feature request
[ ] support request => Please do not submit support request here

Current behavior There is no documented way of disabling transition-in animations.

Expected behavior It will be very helpful specially on a mobile page with multiple charts to have only the visible chart to the users eye animating smoothly by disabling the rest of animations. Currently no where in the documents there is a mention of a way of disabling animation for a particular component instance

What is the motivation / use case for changing the behavior? Mobile performance boost

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:8
  • Comments:9

github_iconTop GitHub Comments

10reactions
jboothecommented, Jun 14, 2017

We get several dozen requestAnimationFrame violations outside of Prod Mode, but 3 rather large ones in AoT Mode amounting to over 1.3 seconds.

[Violation] 'requestAnimationFrame' handler took 404ms
[Violation] 'requestAnimationFrame' handler took 253ms
[Violation] 'requestAnimationFrame' handler took 705ms
  • 6 barcharts (2 above the fold)
  • 10-15 data points per chart
  • Angular 4.1.3
  • ngx-chart 5.3.1

We’re noticing rather janky experience for several seconds while the charts initialize and animate values - very pronounced on mobile. It would be nice to disable animations in mobile or a config to disable them altogether. Any plans for this?

0reactions
yaswanthpslcommented, Oct 2, 2017

@fancycoder Did you find any workaround for this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to turn off animations in Windows 10
Go to the right-hand panel and scroll down to the Simplify and personalise Windows section. Click the toggle switch under Show animations in ......
Read more >
How to make Windows 10 feel faster by disabling animations
Disable Windows 10 animations · Open the Windows Control Panel (from Start, type "control," and choose Control Panel · Navigate to System & ......
Read more >
Turn off Office animations - Microsoft Support
To turn off Microsoft 365 animations in Windows 7 or 8 · Open the Ease of Access Center by pressing the Windows logo...
Read more >
How to Disable Animations in Windows 10 - wikiHow
1. Open the Settings app. Press the Start button in the lower-left corner of your screen and select the settings gear. You can also...
Read more >
How to disable Windows 10's window animations to speed up ...
Another window opens. Make sure the Custom radio button is selected, then uncheck “Animate windows when minimizing and maximizing.” Then click ...
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