We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e834a64 commit 35a9506Copy full SHA for 35a9506
.changeset/early-chairs-invite.md
@@ -0,0 +1,5 @@
1
+---
2
+"@livekit/components-react": patch
3
4
+
5
+fix(react): set all cols highlighted when agent state is speaking
packages/react/src/components/participant/animators/useBarAnimator.ts
@@ -19,7 +19,7 @@ export const useBarAnimator = (
19
setSequence(sequence);
20
} else if (state === 'listening') {
21
setSequence(generateListeningSequenceBar(columns));
22
- } else if (state === undefined) {
+ } else if (state === undefined || state === 'speaking') {
23
setSequence([new Array(columns).fill(0).map((_, idx) => idx)]);
24
} else {
25
setSequence([[]]);
0 commit comments