[251028] feat: SearchPanel.new.v2 Click으로 SearchInputOverlay

🕐 커밋 시간: 2025. 10. 28. 19:59:43

📊 변경 통계:
  • 총 파일: 2개
  • 추가: +14줄
  • 삭제: -1줄

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.new.v2.jsx
  ~ com.twin.app.shoptime/src/views/SearchPanel/TInput/TInputSimple.jsx
This commit is contained in:
2025-10-28 19:59:43 +09:00
parent c95e8af4cf
commit cd5eff85a9
2 changed files with 14 additions and 1 deletions

View File

@@ -1789,6 +1789,12 @@ export default function SearchPanel({ panelInfo, isOnTop, spotlightId }) {
currentMode === SEARCH_PANEL_MODES.SEARCH_RESULT
} // INITIAL, VOICE_RESULT & SEARCH_RESULT 모드에서 TInputSimple 내부 포커스 활성화
onKeyDown={handleKeydown}
onMouseDown={() => {
console.log(
'[DEBUG] [SearchPanel] TInputSimple에서 마우스 클릭 감지 → SearchInputOverlay 오픈'
);
setIsSearchOverlayVisible(true);
}}
spotlightId={SPOTLIGHT_IDS.SEARCH_INPUT_BOX}
// 🎯 [포커스 중첩 해결] SearchResultsContainer로 포커스 전달
// SearchResultsContainer가 Spotlight 컨테이너이므로, 포커스가 들어오면