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