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

Function onHide

packages/shared/src/components/profile/ProfileTooltip.tsx:102–109  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100 };
101
102 const onHide = () => {
103 if (!scrollingContainer) {
104 return;
105 }
106 if (handler.current) {
107 scrollingContainer.removeEventListener('scroll', handler.current);
108 }
109 };
110
111 // This is a workaround to fix the issue of the tooltip getting cleared
112 // when the user moves their mouse from a markdown @ to the tooltip

Callers 4

onHideClickFunction · 0.85
PostItemCardFunction · 0.85
ReadHistoryListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected