Splidejs / splide

Splide is a lightweight, flexible and accessible slider/carousel written in TypeScript. No dependencies, no Lighthouse errors.
https://splidejs.com
MIT License
4.88k stars 420 forks source link

Autoplay doesn't work when connected via Windows Remote Desktop #1092

Open RawMajkel opened 1 year ago

RawMajkel commented 1 year ago

Checks

Version

4.0.1

Description

Slider autoplay is set to "false" and is not working when opening browser and visiting website via Windows Remote Desktop

Reproduction Link

https://splidejs.com/guides/autoplay/

Steps to Reproduce

  1. Connect to any remote desktop
  2. Open any browser (for example google chrome)
  3. Visit https://splidejs.com/guides/autoplay/
  4. See that the example slider is paused, which means autoplay doesn't work

Expected Behaviour

Example autoplay slider should work even when using browser via Windows Remote Desktop.

astumpy commented 1 year ago

Likely related to the "prefer-reduced-motion" being enabled, which overrides any auto-play settings and disables it completely.

I opened up a discussion post regarding this, suggesting instead to just disable the animations instead of disabling the feature entirely.