Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dailydotdev/apps
/ revealShell
Function
revealShell
packages/shared/src/components/shell/useShellScroll.ts:113–117 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
111
);
112
113
export
const
revealShell = (): void => {
114
armed = 0;
115
lastY = globalThis.window?.scrollY ?? 0;
116
emit(rest);
117
};
118
119
export
const
expectShellScroll = (y: number): void => {
120
armed = 0;
Callers
10
ShellTopButton
Function · 0.90
activate
Function · 0.90
ShellField
Function · 0.90
useShellScroll.spec.tsx
File · 0.90
onArrive
Function · 0.90
ShellBlock
Function · 0.90
onFocus
Function · 0.90
ShellField.spec.tsx
File · 0.90
ShellBlock.spec.tsx
File · 0.90
PostCapsule.spec.tsx
File · 0.90
Calls
1
emit
Function · 0.70
Tested by
no test coverage detected