mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-14 00:41:30 +08:00
105cfa2e8d
* fix(module: affix): can't affix while OffsetTop is zero * use affixed setter for rerendering * limit rerendering
12 lines
278 B
C#
12 lines
278 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<div @ref="Ref">
|
|
@if (_affixed)
|
|
{
|
|
<div aria-hidden="true" style="@_hiddenStyle"></div>
|
|
}
|
|
<div class="@ClassMapper.Class" @ref="_childRef" style="@_affixStyle">
|
|
@ChildContent
|
|
</div>
|
|
</div> |