Expected: the logged value, which is the direction property of the swipe event, should always be 2 when you swipe left and 4 when you swipe right.
Observed: the value sometimes is 1 (NONE) or even 8 (UP).
According to documentation, by default only horizontal swipe recognition is enabled. And indeed, the event does only fire when you swipe horizontally, as expected. However, the value of direction sometimes is neither left nor right, which makes no sense.
Expected: the logged value, which is the
direction
property of the swipe event, should always be 2 when you swipe left and 4 when you swipe right.Observed: the value sometimes is 1 (NONE) or even 8 (UP).
According to documentation, by default only horizontal swipe recognition is enabled. And indeed, the event does only fire when you swipe horizontally, as expected. However, the value of
direction
sometimes is neither left nor right, which makes no sense.