diff --git a/apps/readest-app/src/app/reader/components/sidebar/TOCView.tsx b/apps/readest-app/src/app/reader/components/sidebar/TOCView.tsx index ad492857..fc919eb5 100644 --- a/apps/readest-app/src/app/reader/components/sidebar/TOCView.tsx +++ b/apps/readest-app/src/app/reader/components/sidebar/TOCView.tsx @@ -120,7 +120,7 @@ const TOCView: React.FC<{ }; useEffect(() => { - if (!progress) return; + if (!progress || eventDispatcher.dispatchSync('tts-is-speaking')) return; const { sectionHref: currentHref } = progress; const hrefMd5 = currentHref ? getContentMd5(currentHref) : ''; const currentItem = viewRef.current?.querySelector(`[data-href="${hrefMd5}"]`);