MCPcopy Index your code
hub / github.com/adobe/react-spectrum / onBlur

Function onBlur

packages/react-aria/src/interactions/utils.ts:135–139  ·  view source on GitHub ↗
(e: FocusEvent)

Source from the content-addressed store, hash-verified

133 ignoreFocusEvent = true;
134 let isRefocusing = false;
135 let onBlur = (e: FocusEvent) => {
136 if (getEventTarget(e) === activeElement || isRefocusing) {
137 e.stopImmediatePropagation();
138 }
139 };
140
141 let onFocusOut = (e: FocusEvent) => {
142 if (getEventTarget(e) === activeElement || isRefocusing) {

Callers 2

onBlurHandlerFunction · 0.70
useFocusWithinFunction · 0.70

Calls 1

getEventTargetFunction · 0.90

Tested by

no test coverage detected