mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-12 11:55:24 +08:00
fix(module: select): dropdown boundary adjust mode defult to InView (#2995)
This commit is contained in:
parent
88af57bd09
commit
49022ea8e3
@ -22,12 +22,6 @@ namespace AntDesign
|
||||
{
|
||||
#region Parameters
|
||||
|
||||
/// <summary>
|
||||
/// Overlay adjustment strategy (when for example browser resize is happening)
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public TriggerBoundaryAdjustMode BoundaryAdjustMode { get; set; } = TriggerBoundaryAdjustMode.None;
|
||||
|
||||
/// <summary>
|
||||
/// Toggle the border style.
|
||||
/// </summary>
|
||||
|
@ -57,6 +57,12 @@ namespace AntDesign
|
||||
|
||||
protected Action<TItem, TItemValue> _setValue;
|
||||
|
||||
/// <summary>
|
||||
/// Overlay adjustment strategy (when for example browser resize is happening)
|
||||
/// </summary>
|
||||
[Parameter]
|
||||
public TriggerBoundaryAdjustMode BoundaryAdjustMode { get; set; } = TriggerBoundaryAdjustMode.InView;
|
||||
|
||||
/// <summary>
|
||||
/// Show clear button. Has no effect if <see cref="AntInputComponentBase{TValue}.Value"/> type default
|
||||
/// is also in the list of <see cref="SelectOption{TItemValue, TItem}"/>,
|
||||
|
@ -17,6 +17,7 @@
|
||||
OnMouseLeave="@(() => { OnMouseLeave?.Invoke(); })"
|
||||
OnVisibleChange="@OnOverlayVisibleChangeAsync"
|
||||
PopupContainerSelector="@PopupContainerSelector"
|
||||
BoundaryAdjustMode="BoundaryAdjustMode"
|
||||
OverlayEnterCls="ant-slide-up-enter ant-slide-up-enter-active ant-slide-up"
|
||||
OverlayLeaveCls="ant-slide-up-leave ant-slide-up-leave-active ant-slide-up">
|
||||
<Overlay>
|
||||
|
Loading…
Reference in New Issue
Block a user