diff --git a/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.jsx b/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.jsx index 1cb32929..6a2aef2a 100644 --- a/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.jsx +++ b/com.twin.app.shoptime/src/views/SearchPanel/SearchPanel.jsx @@ -207,22 +207,6 @@ export default function SearchPanel({ panelInfo, isOnTop, spotlightId }) { } }; - const handleBestSellerItemFocus = useCallback( - (e) => { - if ( - searchPerformed && - searchQuery !== null && - bestSellerDatas && - bestSellerDatas.length > 0 && - e.key === "ArrowDown" && - Object.keys(searchDatas).length === 0 - ) { - Spotlight.focus(`spotlightId-${bestSellerDatas[0].prdtId}`); - } - }, - [bestSellerDatas, searchDatas, searchPerformed, searchQuery] - ); - const cursorPosition = () => { const input = document.querySelector( `[data-spotlight-id="input-field-box"] > input` @@ -303,7 +287,6 @@ export default function SearchPanel({ panelInfo, isOnTop, spotlightId }) { className={css.inputContainer} data-wheel-point={true} spotlightId={"search-input-layer"} - onKeyDown={handleBestSellerItemFocus} >