[DetailPanel] youmaylike 4way focus
This commit is contained in:
@@ -77,10 +77,12 @@ export default function YouMayLike({
|
||||
}, [dispatch, lgCatCd, panelInfo]);
|
||||
|
||||
const cursorVisibleOnFocus = useCallback(() => {
|
||||
if (productInfo && cursorVisible) {
|
||||
if (cursorVisible) {
|
||||
cursorOpen.current.start(() => {
|
||||
setExpanded(true);
|
||||
});
|
||||
} else if (productInfo) {
|
||||
setExpanded(true);
|
||||
}
|
||||
}, [productInfo, cursorVisible]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user