MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / handleLeftScroll

Function handleLeftScroll

apps/web/ui/ChannelView/TopicView/index.tsx:300–307  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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();

Callers 3

selectThreadFunction · 0.70
handleDropFunction · 0.70
ChannelFunction · 0.70

Calls 2

isInViewportFunction · 0.90
handleScrollFunction · 0.70

Tested by

no test coverage detected