mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 21:17:36 +08:00
3d4f7adaaf
* fix(module:overlay): move postion calculation to js fixes #1836 * docs: TriggerBoundaryAdjustMode explanation * docs: select & datepicker got BoundaryAdjustmetMode cleanup * test: fixes optimization & cleanup * fix(module:overlay): recalculate overlay position when trigger resizes * Minor clean-up * fix(module:overlay): wait for Show to finish in Hide * fix: prevent vertical scrollbar on overlay adding * fix: extract waiting function * fix: overlay not to repostion when trigger vanishes (menu issue) * fix: scroll adjustment for position: fixed * fix: on menu mode change, keep * merge conflict fix * fix: nominal calculation reset on failed adjustment * fix: bugs * test: exclude log method from test coverage in overlay.ts
26 lines
902 B
C#
26 lines
902 B
C#
@namespace AntDesign
|
|
@inherits AntDomComponentBase
|
|
|
|
<CascadingValue Value="this" IsFixed="@true">
|
|
<div class="@ClassMapper.Class">
|
|
<CascadingValue Value=@("shown") Name="position">
|
|
@ChildContent
|
|
</CascadingValue>
|
|
@if (_overflow)
|
|
{
|
|
<Popover Trigger="new[] { Trigger.Hover }"
|
|
Placement=MaxPopoverPlacement
|
|
OverlayClassName="@_popoverClassMapper.Class">
|
|
<ContentTemplate>
|
|
<CascadingValue Value=@("hidden") Name="position">
|
|
@ChildContent
|
|
</CascadingValue>
|
|
</ContentTemplate>
|
|
<Unbound>
|
|
<Avatar RefBack="@context" Style=@MaxStyle>@($"+{_shownAvatarList.Count - MaxCount}")</Avatar>
|
|
</Unbound>
|
|
</Popover>
|
|
}
|
|
</div>
|
|
</CascadingValue>
|