Skip to content

Commit

Permalink
Fix ScrollViewer for Chip lists (MaterialDesignInXAML#2328)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanoRivolta-Previero committed May 25, 2021
1 parent 3a9dc2d commit 42aa767
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,9 @@
BorderThickness="{TemplateBinding BorderThickness}"
SnapsToDevicePixels="true"
Padding="{TemplateBinding Padding}">
<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
<ScrollViewer Focusable="false" Padding="{TemplateBinding Padding}">
<ItemsPresenter SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"/>
</ScrollViewer>
</Border>
<ControlTemplate.Triggers>
<MultiTrigger>
Expand Down Expand Up @@ -704,4 +706,4 @@
<Setter Property="ItemContainerStyle" Value="{StaticResource MaterialDesignChoiceChipAccentOutlineListBoxItem}"/>
</Style>

</ResourceDictionary>
</ResourceDictionary>

0 comments on commit 42aa767

Please sign in to comment.