Skip to content

Commit

Permalink
Fixes the scroll inertia for ScrollViewer. Fix #363
Browse files Browse the repository at this point in the history
  • Loading branch information
SKProCH committed Mar 29, 2024
1 parent 5d8f2b6 commit ee0ce99
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 ee0ce99

Please sign in to comment.