mirror of
https://gitee.com/ant-design-blazor/ant-design-blazor.git
synced 2024-12-04 21:17:36 +08:00
fix(module: select): fix reference and remove the duplicaed div (#4175)
This commit is contained in:
parent
aaa1377ea6
commit
7732465489
@ -8,8 +8,8 @@
|
||||
|
||||
<CascadingValue Value="this" IsFixed="IsSelectFixed()">
|
||||
<CascadingValue Value=@("ant-select-dropdown") Name="PrefixCls" IsFixed>
|
||||
<div class="@ClassMapper.Class" style="@Style" id="@Id" tabindex="-1" @ref="Ref">
|
||||
<OverlayTrigger @ref="@_dropDown"
|
||||
<OverlayTrigger @ref="@_dropDown"
|
||||
TriggerReference="RefBack.Current"
|
||||
Visible="@Open"
|
||||
VisibleChanged="OpenChanged"
|
||||
Disabled="Disabled"
|
||||
@ -42,7 +42,7 @@
|
||||
<CascadingValue Value="@ShowSearchIcon" Name="ShowSearchIcon">
|
||||
<CascadingValue Value="@ShowArrowIcon" Name="ShowArrowIcon">
|
||||
<SelectContent Prefix="@ClassPrefix"
|
||||
RefBack="@context"
|
||||
RefBack="@RefBack"
|
||||
@ref="_selectContent"
|
||||
TItemValue="TItemValue"
|
||||
TItem="TItem"
|
||||
@ -65,7 +65,6 @@
|
||||
</CascadingValue>
|
||||
</Unbound>
|
||||
</OverlayTrigger>
|
||||
</div>
|
||||
</CascadingValue>
|
||||
</CascadingValue>
|
||||
|
||||
|
@ -11,7 +11,7 @@
|
||||
}
|
||||
<div class="@ParentSelect.CurrentClassMapper.Class"
|
||||
style="@ParentSelect.Style"
|
||||
id="@Id"
|
||||
id="@ParentSelect.Id"
|
||||
tabindex="-1"
|
||||
@ref="@Ref"
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user