[DetailPanel] playerpanel에서 진입시 빽키에서 포커스 빠짐 해결
This commit is contained in:
@@ -19,6 +19,7 @@ export default function THeader({
|
||||
title,
|
||||
className,
|
||||
onBackButton,
|
||||
onSpotlightUp,
|
||||
onClick,
|
||||
children,
|
||||
}) {
|
||||
@@ -31,6 +32,12 @@ export default function THeader({
|
||||
[onClick]
|
||||
);
|
||||
|
||||
const _onSpotlightUp = (e) => {
|
||||
if (onSpotlightUp) {
|
||||
onSpotlightUp(e);
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<Container className={classNames(css.tHeader, className)}>
|
||||
{onBackButton && (
|
||||
@@ -38,6 +45,7 @@ export default function THeader({
|
||||
className={css.button}
|
||||
onClick={_onClick}
|
||||
spotlightId={"spotlightId_backBtn"}
|
||||
onSpotlightUp={_onSpotlightUp}
|
||||
/>
|
||||
)}
|
||||
<div className={css.title}>{title}</div>
|
||||
|
||||
Reference in New Issue
Block a user