Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

fix(app): keep typing indicator dots animating under reduced motion (#1666)

Hampus1bced6abaee7
diff --git a/fluxer_app/src/features/theme/styles/Typing.module.css b/fluxer_app/src/features/theme/styles/Typing.module.css
index 887029024..384d52895 100644
--- a/fluxer_app/src/features/theme/styles/Typing.module.css
+++ b/fluxer_app/src/features/theme/styles/Typing.module.css
@@ -19,6 +19,11 @@
animation-delay: 500ms;
}
+:global(html.reduced-motion) .dot {
+ animation-duration: 1s;
+ animation-iteration-count: infinite;
+}
+
:global(html:not(.window-focused):not(.unfocused-fully-interactive)) .dot {
animation-play-state: paused;
opacity: 1;