diff --git a/src/Uno.UI/UI/Xaml/Controls/ScrollContentPresenter/ScrollContentPresenter.Managed.cs b/src/Uno.UI/UI/Xaml/Controls/ScrollContentPresenter/ScrollContentPresenter.Managed.cs index 1657edfbd0e4..f5e00cbbcbc4 100644 --- a/src/Uno.UI/UI/Xaml/Controls/ScrollContentPresenter/ScrollContentPresenter.Managed.cs +++ b/src/Uno.UI/UI/Xaml/Controls/ScrollContentPresenter/ScrollContentPresenter.Managed.cs @@ -79,14 +79,22 @@ private static double GetHorizontalScrollWheelDelta(Size size, double delta) private bool _canHorizontallyScroll; public bool CanHorizontallyScroll { - get => _canHorizontallyScroll || _forceChangeToCurrentView; + get => _canHorizontallyScroll +#if __SKIA__ + || _forceChangeToCurrentView +#endif + ; set => _canHorizontallyScroll = value; } private bool _canVerticallyScroll; public bool CanVerticallyScroll { - get => _canVerticallyScroll || _forceChangeToCurrentView; + get => _canVerticallyScroll +#if __SKIA__ + || _forceChangeToCurrentView +#endif + ; set => _canVerticallyScroll = value; }