DetailPanel 최초진입시 포커스 && PlayerPanel Live 방송일때 재진입할때 랜더링안되는 현상 수정
This commit is contained in:
@@ -2,7 +2,9 @@ import React, { useCallback } from "react";
|
||||
|
||||
import classNames from "classnames";
|
||||
|
||||
import SpotlightContainerDecorator from "@enact/spotlight/SpotlightContainerDecorator";
|
||||
import SpotlightContainerDecorator, {
|
||||
spotlightDefaultClass,
|
||||
} from "@enact/spotlight/SpotlightContainerDecorator";
|
||||
import Spottable from "@enact/spotlight/Spottable";
|
||||
|
||||
import css from "./THeader.module.less";
|
||||
@@ -32,7 +34,11 @@ export default function THeader({
|
||||
return (
|
||||
<Container className={classNames(css.tHeader, className)}>
|
||||
{onBackButton && (
|
||||
<SpottableComponent className={css.button} onClick={_onClick} />
|
||||
<SpottableComponent
|
||||
className={css.button}
|
||||
onClick={_onClick}
|
||||
spotlightId={"spotlightId_backBtn"}
|
||||
/>
|
||||
)}
|
||||
<div className={css.title}>{title}</div>
|
||||
{children}
|
||||
|
||||
Reference in New Issue
Block a user