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

Function clearMoving

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

Source from the content-addressed store, hash-verified

434 const restingY = () =>
435 layout === 'full' ? current.full + Math.max(0, window.scrollY) : restY;
436 const clearMoving = () =>
437 styleMoving({ transform: null, transition: null, 'will-change': null });
438 const present = (y: number) => {
439 const shift = Math.round(base() - y);
440 styleMoving({ transform: `translateY(${shift}px)` });

Callers 2

landFunction · 0.85
settleAtFunction · 0.85

Calls 1

styleMovingFunction · 0.85

Tested by

no test coverage detected