MCPcopy Create free account
hub / github.com/tinyplex/tinybase / handleScroll

Function handleScroll

src/ui-solid-inspector/index.tsx:1081–1088  ·  view source on GitHub ↗
(event: Event & {currentTarget: HTMLElement})

Source from the content-addressed store, hash-verified

1079 });
1080
1081 const handleScroll = (event: Event & {currentTarget: HTMLElement}) => {
1082 const {scrollLeft, scrollTop} = event.currentTarget;
1083 cancelInspectorIdleCallback(idleCallback);
1084 idleCallback = requestInspectorIdleCallback(() => {
1085 setScrolled(true);
1086 props.s.setPartialValues({scrollLeft, scrollTop});
1087 });
1088 };
1089
1090 const store = useStore();
1091 const storeIds = useStoreIds();

Callers

nothing calls this directly

Calls 3

setPartialValuesMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…