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

Function onScroll

packages/shared/src/components/shell/ReadingDrawer.tsx:542–546  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

540 }
541 };
542 const onScroll = () => {
543 if (!frame) {
544 frame = requestAnimationFrame(update);
545 }
546 };
547 const setLayout = (next: 'card' | 'full') => {
548 if (layout === next) {
549 return;

Callers 2

onTouchMoveFunction · 0.70
ReadingDrawerFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected