fix(module: tabs): ink delay change (#1037)

This commit is contained in:
James Yeung 2021-01-24 22:18:09 +08:00 committed by GitHub
parent e40f93127d
commit 4e8e8fc33e
2 changed files with 2 additions and 13 deletions

View File

@ -21,14 +21,7 @@
@if (Type == TabType.EditableCard && !HideAdd)
{
<button type="button" class="ant-tabs-nav-add" aria-label="Add tab" @onclick="OnAddClick">
<span role="img" aria-label="plus" class="anticon anticon-plus">
<svg viewBox="64 64 896 896" focusable="false" class="" data-icon="plus" width="1em" height="1em" fill="currentColor" aria-hidden="true">
<defs><style></style></defs>
<path d="M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"></path>
<path d="M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z">
</path>
</svg>
</span>
<Icon Type="plus" />
</button>
}
<div class="ant-tabs-ink-bar ant-tabs-ink-bar-animated" style="@_inkStyle"></div>
@ -54,9 +47,7 @@
<div class="@_operationClass" @onclick:preventDefault>
<button tabindex="-1" class="ant-tabs-nav-more" id="rc-tabs-0-more" aria-expanded="false" aria-haspopup="listbox" aria-hidden="true" aria-controls="rc-tabs-0-more-popup"
style="@_operationStyle" type="button">
<span class="anticon anticon-ellipsis" role="img" aria-label="ellipsis">
<svg xmlns="http://www.w3.org/2000/svg" class="" aria-hidden="true" fill="currentColor" viewBox="64 64 896 896" focusable="false" width="1em" height="1em" data-icon="ellipsis"><path d="M 176 511 a 56 56 0 1 0 112 0 a 56 56 0 1 0 -112 0 Z m 280 0 a 56 56 0 1 0 112 0 a 56 56 0 1 0 -112 0 Z m 280 0 a 56 56 0 1 0 112 0 a 56 56 0 1 0 -112 0 Z" /></svg>
</span>
<Icon Type="ellipsis" />
</button>
</div>
</ChildContent>

View File

@ -443,8 +443,6 @@ namespace AntDesign
return;
}
await Task.Delay(100);
// TODO: slide to activated tab
// animate Active Ink
// ink bar