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

Function setShellDeadZone

packages/shared/src/components/shell/useShellScroll.ts:92–94  ·  view source on GitHub ↗
(px?: number)

Source from the content-addressed store, hash-verified

90// A thing's page keeps the block until its hero has gone and what docks
91// into the block (the name, Follow, the segments) has had room to arrive.
92export const setShellDeadZone = (px?: number): void => {
93 deadZone = Math.max(scroll.deadZone, px ?? 0);
94};
95
96// Where the block's bottom edge rests on screen: its height plus whatever
97// stands above it (the status bar in the wrappers, the phone ad strip).

Callers 2

measureFunction · 0.90
useHeroDeadZoneFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected