diff --git a/tdesign-component/lib/src/components/picker/td_multi_picker.dart b/tdesign-component/lib/src/components/picker/td_multi_picker.dart index fd3243249..83cf7fdbe 100644 --- a/tdesign-component/lib/src/components/picker/td_multi_picker.dart +++ b/tdesign-component/lib/src/components/picker/td_multi_picker.dart @@ -293,16 +293,19 @@ class TDMultiPicker extends StatelessWidget { childCount: data[position].length, builder: (context, index) { return Container( + key: UniqueKey(), alignment: Alignment.center, height: pickerHeight / pickerItemCount, width: maxWidth, child: TDItemWidget( index: index, + key: UniqueKey(), itemHeight: pickerHeight / pickerItemCount, content: data[position][index], itemDistanceCalculator: itemDistanceCalculator, fixedExtentScrollController: controllers[position], - )); + ) + ); })), )); }