MCPcopy Create free account
hub / github.com/codeaashu/claude-code / _temp2

Function _temp2

src/context/overlayContext.tsx:137–139  ·  view source on GitHub ↗

* Hook to check if any modal overlay is currently active. * Modal overlays are overlays that should capture all input (like Select dialogs). * Non-modal overlays (like autocomplete) don't disable TextInput focus. * * @returns true if any modal overlay is currently active * * @example * // Use

(s)

Source from the content-addressed store, hash-verified

135 * focus: !isSearchingHistory && !isModalOverlayActive
136 */
137function _temp2(s) {
138 return s.activeOverlays.size > 0;
139}
140export function useIsModalOverlayActive() {
141 return useAppState(_temp3);
142}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected