diff --git a/Runtime/Scripts/Layout/HorizontalScrollSnap.cs b/Runtime/Scripts/Layout/HorizontalScrollSnap.cs index 9fc2a4c..846d2a3 100644 --- a/Runtime/Scripts/Layout/HorizontalScrollSnap.cs +++ b/Runtime/Scripts/Layout/HorizontalScrollSnap.cs @@ -328,6 +328,10 @@ namespace UnityEngine.UI.Extensions } } } + else if (distance == 0) + { + EndScreenChange(); + } } } } diff --git a/Runtime/Scripts/Layout/VerticalScrollSnap.cs b/Runtime/Scripts/Layout/VerticalScrollSnap.cs index 2b4fe70..8690856 100644 --- a/Runtime/Scripts/Layout/VerticalScrollSnap.cs +++ b/Runtime/Scripts/Layout/VerticalScrollSnap.cs @@ -321,6 +321,10 @@ namespace UnityEngine.UI.Extensions } } } + else if (distance == 0) + { + EndScreenChange(); + } } } }