Enabling UI refresh on change the right list
@@ -412,8 +412,12 @@ class _DatePickerState extends State<_DatePickerComponent> {
rightScrollCtrl,
widget.pickerModel.layoutProportions()[2], (index) {
widget.pickerModel.setRightIndex(index);
- _notifyDateChanged();
- }, null)
+ }, (index) {
+ setState(() {
+ refreshScrollOffset();
+ _notifyDateChanged();
+ });
+ })
: null,
),
],