MCPcopy Create free account
hub / github.com/dailydotdev/apps / focusRow

Function focusRow

packages/shared/src/components/BookmarkFeedLayout.tsx:524–527  ·  view source on GitHub ↗
(postId: string)

Source from the content-addressed store, hash-verified

522 }, [currentId, showPane]);
523
524 const focusRow = (postId: string) =>
525 listRef.current
526 ?.querySelector<HTMLElement>(`[data-post-id="${postId}"]`)
527 ?.focus({ preventScroll: true });
528
529 const select = (post?: Post, { focus = true } = {}) => {
530 if (!post) {

Callers 2

selectFunction · 0.70
onKeyDownFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected