[251026] fix: SearchPanel.new.v2 Focus -1

🕐 커밋 시간: 2025. 10. 26. 13:48:01

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

📝 수정된 파일:
  ~ com.twin.app.shoptime/src/views/SearchPanel/HowAboutThese/HowAboutThese.small.jsx
  ~ com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.new.v2.jsx
  ~ com.twin.app.shoptime/src/views/SearchPanel/SearchResults.new.v2.jsx

🔧 주요 변경 내용:
  • 소규모 기능 개선
This commit is contained in:
2025-10-26 13:48:01 +09:00
parent 5394debda4
commit 9666b14fdf
3 changed files with 34 additions and 1 deletions

View File

@@ -394,6 +394,15 @@ export default function SearchPanel({ panelInfo, isOnTop, spotlightId }) {
}
}
// 아래쪽 화살표 키 처리 - SEE MORE 버튼으로 포커스 이동
if (e.key === 'ArrowDown' || e.key === 'Down') {
e.preventDefault();
setTimeout(() => {
Spotlight.focus('howAboutThese-seeMore');
}, 0);
return;
}
// 나머지 방향키는 Spotlight가 처리하도록 허용
return;
}
@@ -1029,6 +1038,15 @@ export default function SearchPanel({ panelInfo, isOnTop, spotlightId }) {
if (e.key === 'Enter') {
onClickMic();
}
// 아래쪽 화살표 키 처리 - SEE MORE 버튼으로 포커스 이동
if (e.key === 'ArrowDown' || e.key === 'Down') {
e.preventDefault();
setTimeout(() => {
Spotlight.focus('howAboutThese-seeMore');
}, 0);
return;
}
},
[onClickMic]
);