Commit 4640f7c9 authored by timel's avatar timel

fix: card dropdown disable timing

parent 1e46740b
Pipeline #22358 failed with stages
in 12 minutes and 52 seconds
......@@ -83,4 +83,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