Plugin Support
Velda
(@supernovia)
Hi, just to clarify — I understand you’re turning off the built-in animations for Windows, and that makes the slideshow stop working for you. Is that correct? And if so, do all web animations stop working when you do that?
Thank you.
True, animations not working for me if I turn off built-in animations for Windows. That means that it also not working for others with same setting.
Some other plugin animations for Gutenberg blocks also not working.
E.G.
Blocks Animation: CSS Animations for Gutenberg Blocks: not working.
Gutenslider, Co blocks carousel, and all other sliders plugins: working.
Thank you.
Hi there,
If animations for other plugins also aren’t working, this isn’t a Jetpack issue.
From what you describe it sounds like this Windows setting is also being applied to whatever happens in your browser, meaning this is something that’s being controlled at the browser level and not by the editor itself. In that case there isn’t anything the creators of any plugin can do to help, as we cannot override a setting that’s set on the operating system itself.
It is
.matchMedia("(prefers-reduced-motion: reduce)")
from
wp-content/plugins/jetpack/_inc/blocks/slideshow/view.js
Temporary solution for me is replacing this with
.matchMedia("(prefers-reduced-motion: no-preference)")
What do you think?
Plugin Support
Velda
(@supernovia)
Ah, interesting. I didn’t realize it was possible to override that. I can see how Jetpack developers would have opted to respect motion preferences, so it’s not likely to change, but you’d be welcome to report your suggestion and fix here:
https://github.com/Automattic/jetpack/
Just noting that I’ve reported this issue in https://github.com/Automattic/jetpack/issues/14523. You’re welcome to follow along there to see if this is something we might be able to change on Jetpack’s end.
Our developers have confirmed that this is the expected behaviour for the slider block with that Windows setting active, so this is not something we’ll be changing on Jetpack’s end.