From ab75379f0c2f5e54ab7c348284a7391939ab5aaf Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Sat, 6 Feb 2021 14:30:57 +0800 Subject: [PATCH] fix: time-picker can not scroll to selected --- components/vc-time-picker/Select.jsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/vc-time-picker/Select.jsx b/components/vc-time-picker/Select.jsx index a151999a16..fc9f24769c 100644 --- a/components/vc-time-picker/Select.jsx +++ b/components/vc-time-picker/Select.jsx @@ -103,10 +103,6 @@ const Select = { this.setState({ active: false }); }, - saveList(node) { - this.list = node; - }, - scrollToSelected(duration) { // move to selected item const select = findDOMNode(this); @@ -137,7 +133,7 @@ const Select = { return (
- +
); },