Error in updatePages() when switching focus
### Describe the bug
Hello, we get this error (even on https://meet.livekit.io/) when switching from focusing on one participant to another participant:
```
Error while running updatePages(): Error: Element not part of the array: REDACTED_camera_placeholder not in REDACTED_camera_placeholder,REDACTED_camera_TR_VCE7LtnmA5XSuG
```
### Reproduction
>Join a room
>Publish a screen share
>Switch focus between that screen share and yourself
### Logs
```shell
Error while running updatePages(): Error: Element not part of the array: tt__ynjc_screen_share_TR_VSwEwXiRVmKAKb not in tt__ynjc_camera_placeholder
at t1 (index.mjs:720:11)
at index.mjs:729:26
at index.mjs:734:1
at Array.forEach (<anonymous>)
at index.mjs:767:47
at Array.forEach (<anonymous>)
at t2 (index.mjs:755:32)
at k (useVisualStableUpdate.ts:48:26)
at et (CarouselLayout.tsx:66:23)
at lS (react-dom-client.production.js:3209:1)
at ot (react-dom-client.production.js:5851:1)
at ov (react-dom-client.production.js:6847:1)
at ic (react-dom-client.production.js:10857:1)
at react-dom-client.production.js:10738:35
at is (react-dom-client.production.js:10739:1)
at u9 (react-dom-client.production.js:10286:1)
at iQ (react-dom-client.production.js:11704:1)
at iI (react-dom-client.production.js:11575:1)
at iV (react-dom-client.production.js:11609:1)
at react-dom-client.production.js:11713:1
```
### System Info
```shell
System:
OS: Linux 6.16 Fedora Linux 41 (Container Image)
CPU: (20) x64 Intel(R) Core(TM) Ultra 9 185H
Memory: 36.05 GB / 62.24 GB
Container: Yes
Shell: 5.9 - /usr/bin/zsh
Binaries:
Node: 22.19.0 - /usr/bin/node
npm: 10.9.3 - /usr/bin/npm
pnpm: 10.9.0 - /usr/bin/pnpm
bun: 1.2.15 - /usr/bin/bun
npmPackages:
@livekit/components-core: ^0.12.9 => 0.12.9
@livekit/components-react: ^2.9.14 => 2.9.14
@livekit/components-styles: 1.1.6 => 1.1.6
@livekit/track-processors: ^0.6.1 => 0.6.1
livekit-client: 2.15.7 => 2.15.7
```
### Severity
annoyance
### Additional Information
_No response_
关闭于 2025-10-01 1 条评论