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.

Prop Velocity=0 crashes

See original GitHub issue

Line 90 in Motion.tsx const animationDuration = circumference / velocity; will crash if velocity is 0.

Our current app requires a feature to pause the carousel on hover. Any chance you could add this in?

Thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mostakscommented, Jul 5, 2020

That’s awesome, thanks so much for getting back to me!

On Mon, 6 Jul 2020 at 6:35 am, Maxim notifications@github.com wrote:

Just released 1.1.0, which allows you to set velocity=0 and thereby stopping the animation!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mxmzb/react-marquee-slider/issues/2#issuecomment-653935916, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJ5SXANNVAEBS5RXZKOO5N3R2DPZTANCNFSM4LSNXCAA .

0reactions
mxmzbcommented, Jul 5, 2020

Just released 1.1.0, which allows you to set velocity=0 and thereby stopping the animation!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Identifying the cause of common crashes - Apple Developer
Overview. You can identify the causes for many app crashes by looking for specific patterns in the crash report and taking specific diagnostic...
Read more >
Investigation: Corroded Propeller Blade Caused KC-130T Crash
The Marine Corps determined that a corroded propeller blade that came off mid-flight was the cause of the July 10, 2017, crash of...
Read more >
[UPDATE, /w Repro] Fatal crash from adjusting velocity ...
Starting today I've been getting strange reports of people crashing directly after interacting with conveyors in my game.
Read more >
Understanding Car Crashes: It's Basic Physics - YouTube
Updated in 2020.What happens to vehicles and their occupants in crashes is determined by science. "You can't argue with the laws of physics ......
Read more >
The Physics of a Car Collision - ThoughtCo
The situation begins with car A traveling at a velocity (v) and, upon colliding with the wall, ending with a velocity of 0....
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