diff --git a/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.new.jsx b/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.new.jsx index 413ecd70..4e082e14 100644 --- a/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.new.jsx +++ b/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.new.jsx @@ -500,16 +500,16 @@ export default function SearchPanel({ panelInfo, isOnTop, spotlightId }) { '🚪 [DEBUG][SearchPanel] handleVoiceOverlayClose called, setting isVoiceOverlayVisible to FALSE' ); - // ✅ Redux 정리 (VoiceInputOverlay도 정리하지만, 이중 정리로 안전성 보장) - dispatch(clearShopperHouseData()); - dispatch(clearSTTText()); + // ✨ Redux 정리는 VoiceInputOverlay.handleClose()에서 처리함 + // VoiceInputOverlay가 닫히는 순간 clearShopperHouseData()를 호출하면, + // SearchPanel에서 shopperHouseData를 표시할 수 없으므로 여기서는 정리하지 않음 setIsVoiceOverlayVisible(false); // ✅ VoiceOverlay가 닫힐 때 항상 TInput으로 포커스 이동 setTimeout(() => { Spotlight.focus(SPOTLIGHT_IDS.SEARCH_INPUT_BOX); }, 150); // Overlay 닫히는 시간을 고려한 지연 - }, [dispatch]); + }, []); // Search overlay close handler const handleSearchOverlayClose = useCallback(() => {