You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set hasMasterSpinner prop on provider component to true, load the page with long-loading or erroring slides, or JS switched off. Spinner shows on page and stays there for a significant amount of time.
What happened:
With browser set to prefer reduced motion, master spinner animation continues to rotate forever.
pure-react-carousel
version: 1.28.0react
version: 17.0.2browser
used: Firefox 96.0node
version: v16.13.0Relevant code or config:
What you did:
Set
hasMasterSpinner
prop on provider component totrue
, load the page with long-loading or erroring slides, or JS switched off. Spinner shows on page and stays there for a significant amount of time.What happened:
With browser set to prefer reduced motion, master spinner animation continues to rotate forever.
Problem description:
Animations should be possible to reduce or stop based on user configuration to be accessible. See https://www.w3.org/TR/UNDERSTANDING-WCAG20/time-limits-pause.html for more information.
Suggested solution:
Add a
prefers-reduced-motion
media query which limits the animation suitably.The text was updated successfully, but these errors were encountered: