Skip to content

Commit

Permalink
Merge pull request #364 from AvaloniaCommunity/fixScrollInertia
Browse files Browse the repository at this point in the history
Fixes the scroll inertia for ScrollViewer. Fix #363
  • Loading branch information
SKProCH authored Mar 29, 2024
2 parents 5d8f2b6 + ee0ce99 commit 355788d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Material.Styles/Resources/Themes/ScrollViewer.axaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
<ScrollContentPresenter.GestureRecognizers>
<ScrollGestureRecognizer
CanHorizontallyScroll="{Binding CanHorizontallyScroll, ElementName=PART_ContentPresenter}"
CanVerticallyScroll="{Binding CanVerticallyScroll, ElementName=PART_ContentPresenter}" />
CanVerticallyScroll="{Binding CanVerticallyScroll, ElementName=PART_ContentPresenter}"
IsScrollInertiaEnabled="{Binding IsScrollInertiaEnabled, RelativeSource={RelativeSource TemplatedParent}}"/>
</ScrollContentPresenter.GestureRecognizers>
</ScrollContentPresenter>

Expand Down

0 comments on commit 355788d

Please sign in to comment.