fix: make sure popup won't close when clicking on elements.
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}"
|
||||
CornerRadius="{TemplateBinding CornerRadius}" />
|
||||
<Grid ColumnDefinitions="*, Auto, * Auto">
|
||||
<Grid ColumnDefinitions="*, Auto, * Auto" Name="PART_Grid">
|
||||
<TextBox
|
||||
Name="{x:Static u:TimeRangePicker.PART_StartTextBox}"
|
||||
Grid.Column="0"
|
||||
@@ -75,6 +75,8 @@
|
||||
<Popup
|
||||
Name="{x:Static iri:PartNames.PART_Popup}"
|
||||
IsLightDismissEnabled="True"
|
||||
OverlayDismissEventPassThrough="True"
|
||||
OverlayInputPassThroughElement="{Binding ElementName=PART_Grid}"
|
||||
IsOpen="{TemplateBinding IsDropdownOpen,
|
||||
Mode=TwoWay}"
|
||||
Placement="BottomEdgeAlignedLeft"
|
||||
|
||||
Reference in New Issue
Block a user