()
| 298 | } |
| 299 | |
| 300 | function handleLeftScroll() { |
| 301 | if ( |
| 302 | isLeftScrollAtBottom || |
| 303 | isInViewport(leftBottomRef.current as HTMLElement) |
| 304 | ) { |
| 305 | setTimeout(() => handleScroll(), 0); |
| 306 | } |
| 307 | } |
| 308 | |
| 309 | async function selectThread(threadId: string, scroll: boolean = true) { |
| 310 | const text = getSelectedText(); |
no test coverage detected