From c08917336a6dd4ca6f2ce609b0187a0c51e4034a Mon Sep 17 00:00:00 2001 From: Matthew Einhorn Date: Wed, 3 Aug 2016 18:08:42 -0400 Subject: [PATCH] Always pop the touch. --- kivy/uix/scrollview.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/kivy/uix/scrollview.py b/kivy/uix/scrollview.py index f13a32df6..329ae2fe1 100644 --- a/kivy/uix/scrollview.py +++ b/kivy/uix/scrollview.py @@ -596,6 +596,7 @@ class ScrollView(StencilView): touch.push() touch.apply_transform_2d(self.to_local) if self.dispatch_children('on_scroll_start', touch): + touch.pop() return True touch.pop() @@ -730,6 +731,7 @@ class ScrollView(StencilView): touch.push() touch.apply_transform_2d(self.to_local) if self.dispatch_children('on_scroll_move', touch): + touch.pop() return True touch.pop() @@ -810,6 +812,7 @@ class ScrollView(StencilView): touch.push() touch.apply_transform_2d(self.to_local) if super(ScrollView, self).on_touch_up(touch): + touch.pop() return True touch.pop() return False @@ -828,6 +831,7 @@ class ScrollView(StencilView): touch.push() touch.apply_transform_2d(self.to_local) if self.dispatch_children('on_scroll_stop', touch): + touch.pop() return True touch.pop()