Are Observables in the observable future?

Hi Guys,

Just a question regarding Reactive JavaScript. I’ve been looking for a way to cancel an animation mid change during an onMouseOut event. As it is, if a user moves their mouse too quickly, they will have to endure the entire sequence of an animation, sometimes not running the event handler for the second animation at all.

Hoping to hear some good news, if not about Observables, about being able to cancel animations.

Thanks in advance,
Chris

Hi,
I’m not sure that I fully understand what you were trying to achieve. Do you have a site as example so that we can better understand?

Thanks,
Tal.

Hi Tal,

I do, you can look at the menu bar on https://styleonmw.com. I’ve created it using a trick I found on the forum with an invisible line to initiate the animations when it enters or exits the viewport. What I wondered is, can the animations be cut in the middle of their animating sequence?

Hi Chris,
No, once the event is “fired”, there’s no option to stop it in the middle.

Best,
Tal.

Hey Tal,

Thanks for confirming.

Best,
Chris