[ThumbTrack] Fix edge case when dragging finger off-screen
[ThumbTrack] Fix edge case when dragging finger off-screen

Summary: In D1050, I introduced an edge case bug for interacting with the slider and switch, in which the thumb track would occasionally enter an unstable state as a result of dragging your finger off-screen. This had to do with the logic of checking if a touch matches up to a previous point. I've now remedied this and the component should work as advertised now, encompassing more cases.

Reviewers: O1 Material components iOS, ajsecord

Reviewed By: O1 Material components iOS, ajsecord

Tags: #material_components_ios

Differential Revision: http://codereview.cc/D1067

sigito/material-components-ios,chriscox/material-components-ios,material-components/material-components-ios,material-components/material-components-ios,brianjmoore/material-components-ios,brianjmoore/material-components-ios,material-components/material-components-ios,randallli/material-components-ios,Eccelor/material-components-ios,willlarche/material-components-ios,samnm/material-components-ios,willlarche/material-components-ios,brianjmoore/material-components-ios,willlarche/material-components-ios,chriscox/material-components-ios,randallli/material-components-ios,samnm/material-components-ios,sigito/material-components-ios,randallli/material-components-ios,Eccelor/material-components-ios,brianjmoore/material-components-ios,material-components/material-components-ios,sigito/material-components-ios,material-components/material-components-ios,chriscox/material-components-ios,samnm/material-components-ios,Eccelor/material-components-ios,sigito/material-components-ios,Eccelor/material-components-ios,randallli/material-components-ios,samnm/material-components-ios,randallli/material-components-ios,brianjmoore/material-components-ios,willlarche/material-components-ios,samnm/material-components-ios,Eccelor/material-components-ios,willlarche/material-components-ios,randallli/material-components-ios,sigito/material-components-ios,chriscox/material-components-ios,chriscox/material-components-ios