From 81820b31eb85e07b2e040f2acc3c5d09d8d7dbe5 Mon Sep 17 00:00:00 2001 From: neverland Date: Thu, 29 Aug 2019 16:58:53 +0800 Subject: [PATCH] fix(Picker): should reset moving when touch ended (#4283) --- src/picker/PickerColumn.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/picker/PickerColumn.js b/src/picker/PickerColumn.js index 908dfb9a5..3d99ec7a5 100644 --- a/src/picker/PickerColumn.js +++ b/src/picker/PickerColumn.js @@ -135,6 +135,7 @@ export default createComponent({ } const index = this.getIndexByOffset(this.offset); + this.moving = false; this.duration = DEFAULT_DURATION; this.setIndex(index, true); },