Commit b12eaa4c authored by timel's avatar timel Committed by Chunchi Che

fix: card dropdown disable timing

parent 7e6f9eae
......@@ -120,4 +120,5 @@ section#mat {
.ant-dropdown-menu {
background-color: #333;
}
text-align: center;
}
......@@ -231,7 +231,7 @@ export const Card: FC<{ idx: number }> = React.memo(({ idx }) => {
overlayClassName="card-dropdown"
arrow
trigger={["click"]}
// TODO: 没有交互效果、或者不能点击的卡,不应该显示下拉菜单
disabled={!highlight}
>
<div className={classnames("card-img-wrap", { focus: classFocus })}>
<YgoCard
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment