fix(module: select): add PopupContainerSelector parameter (#606)

Co-authored-by: James Yeung <shunjiey@hotmail.com>
This commit is contained in:
wusanwa 2020-09-16 20:07:30 +08:00 committed by GitHub
parent 19f51c87fa
commit 2a8c846eb8
2 changed files with 5 additions and 3 deletions

View File

@ -1,4 +1,4 @@
@namespace AntDesign
@namespace AntDesign
@using AntDesign.Internal
@inherits SelectBase
@ -12,7 +12,8 @@
HiddenMode
OnVisibleChange="OnVisibleChange"
OverlayEnterCls="slide-up-enter slide-up-enter-active slide-up"
OverlayLeaveCls="slide-up-leave slide-up-leave-active slide-up">
OverlayLeaveCls="slide-up-leave slide-up-leave-active slide-up"
PopupContainerSelector="@PopupContainerSelector">
<Overlay>
<div style="@_dropdownStyle">
<div role="listbox" id="@(Id)_list" style="height: 0px; width: 0px; overflow: hidden;">

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@ -56,6 +56,7 @@ namespace AntDesign.Internal
[Parameter] public string OptionFilterProp { get; set; } = "value";
[Parameter] public string PopupContainerSelector { get; set; }
#endregion
#region Number(3)