1

Closed

TouchScrollBehaviorBase OnDetaching() not detaching Manipulation events

description

Noticed that the TouchScrollBehaviorBase is not detaching the Manipulation events. An easy mistake to make and very simple to fix!
 
// CURRENT
 
// Unsuscribe from the manipulation events
_manipulationBehavior.ManipulationStarted += OnManipulationStarted;
_manipulationBehavior.ManipulationDelta += OnManipulationDelta;
_manipulationBehavior.ManipulationCompleted += OnManipulationCompleted;
 
 
// FIX:
 
// Unsuscribe from the manipulation events
_manipulationBehavior.ManipulationStarted -= OnManipulationStarted;
_manipulationBehavior.ManipulationDelta -= OnManipulationDelta;
_manipulationBehavior.ManipulationCompleted -= OnManipulationCompleted;
Closed May 1, 2011 at 1:55 AM by avidgator
Fixed

comments

avidgator wrote Apr 26, 2011 at 11:03 PM

I realized I neglected to comment. A fix was checked in for this. I am currently working on extending the Gestures to support the missing "Pinch" gesture, and this change will be rolled into that release (or is available immediately via the source code.)

wrote Apr 29, 2011 at 2:24 AM

wrote May 1, 2011 at 1:53 AM

wrote May 1, 2011 at 1:55 AM

wrote Feb 14, 2013 at 12:59 AM

wrote May 16, 2013 at 7:11 AM