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

Function callback

packages/shared/src/components/feedback/FeedbackWidget.tsx:119–123  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 return undefined;
118 }
119 const callback = () => {
120 setIsCompact(
121 document.documentElement.scrollTop >= window.innerHeight / 2,
122 );
123 };
124 callback();
125 window.addEventListener('scroll', callback, { passive: true });
126 return () => window.removeEventListener('scroll', callback);

Callers 7

FeedbackWidgetFunction · 0.70
flushAnimationFramesFunction · 0.50
mockRecoveryQueryFunction · 0.50
mockRecoveryMutationFunction · 0.50
useFeedSettingsEditFunction · 0.50

Calls

no outgoing calls

Tested by 3

flushAnimationFramesFunction · 0.40
mockRecoveryQueryFunction · 0.40
mockRecoveryMutationFunction · 0.40