MCPcopy Index your code
hub / github.com/caseywebdev/react-list / clearIfContinuousEvent

Function clearIfContinuousEvent

docs/index.js:18204–18226  ·  view source on GitHub ↗
(domEventName, nativeEvent)

Source from the content-addressed store, hash-verified

18202 " "
18203 );
18204function clearIfContinuousEvent(domEventName, nativeEvent) {
18205 switch (domEventName) {
18206 case "focusin":
18207 case "focusout":
18208 queuedFocus = null;
18209 break;
18210 case "dragenter":
18211 case "dragleave":
18212 queuedDrag = null;
18213 break;
18214 case "mouseover":
18215 case "mouseout":
18216 queuedMouse = null;
18217 break;
18218 case "pointerover":
18219 case "pointerout":
18220 queuedPointers.delete(nativeEvent.pointerId);
18221 break;
18222 case "gotpointercapture":
18223 case "lostpointercapture":
18224 queuedPointerCaptures.delete(nativeEvent.pointerId);
18225 }
18226}
18227function accumulateOrCreateContinuousQueuedReplayableEvent(
18228 existingQueuedEvent,
18229 blockedOn,

Callers 1

dispatchEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…