MCPcopy Create free account
hub / github.com/Sethispr/image-compressor / handleWindowDragLeave

Function handleWindowDragLeave

components/Dropzone.tsx:43–49  ·  view source on GitHub ↗
(e: DragEvent)

Source from the content-addressed store, hash-verified

41 };
42
43 const handleWindowDragLeave = (e: DragEvent) => {
44 e.preventDefault();
45 dragCounter.current -= 1;
46 if (dragCounter.current === 0) {
47 setIsDragOver(false);
48 }
49 };
50
51 const handleWindowDragOver = (e: DragEvent) => {
52 e.preventDefault();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected