[DetailPanel] 백버튼에서 왼쪽 사방향키 누를 시 포커스 빠지는 현상 수정
This commit is contained in:
@@ -21,6 +21,7 @@ export default function THeader({
|
||||
className,
|
||||
onBackButton,
|
||||
onSpotlightUp,
|
||||
onSpotlightLeft,
|
||||
marqueeDisabled = true,
|
||||
onClick,
|
||||
children,
|
||||
@@ -40,6 +41,12 @@ export default function THeader({
|
||||
}
|
||||
};
|
||||
|
||||
const _onSpotlightLeft = (e) => {
|
||||
if (onSpotlightLeft) {
|
||||
onSpotlightLeft(e);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<Container className={classNames(css.tHeader, className)}>
|
||||
{onBackButton && (
|
||||
@@ -48,6 +55,7 @@ export default function THeader({
|
||||
onClick={_onClick}
|
||||
spotlightId={"spotlightId_backBtn"}
|
||||
onSpotlightUp={_onSpotlightUp}
|
||||
onSpotlightLeft={_onSpotlightLeft}
|
||||
/>
|
||||
)}
|
||||
<Marquee
|
||||
|
||||
Reference in New Issue
Block a user