MCPcopy Create free account
hub / github.com/InverseUI/InverseUI-Recorder / handleFocus

Method handleFocus

modules/action/events/input.js:55–65  ·  view source on GitHub ↗

* Handle focus events - record for dropdown correlation

(event)

Source from the content-addressed store, hash-verified

53 * Handle focus events - record for dropdown correlation
54 */
55 handleFocus(event) {
56 const target = event.target;
57
58 // Only track focusable form elements
59 if (!this.isFormElement(target)) return;
60
61 // Record focus for dropdown detection correlation
62 if (this.dropdownDetector) {
63 this.dropdownDetector.recordFocus(target);
64 }
65 }
66
67 /**
68 * Check if element is a form input element

Callers

nothing calls this directly

Calls 2

isFormElementMethod · 0.95
recordFocusMethod · 0.80

Tested by

no test coverage detected