Skip to content

Commit

Permalink
fix(datepicker): Fix datePicker .Date is not correctly updated.
Browse files Browse the repository at this point in the history
This commit is a workaround for the following bug: #5845

This will fix #5471
  • Loading branch information
carldebilly committed Apr 28, 2021
1 parent 9328d72 commit e435d25
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1904,8 +1904,9 @@ void SetScrollPosition(double offset, bool useAnimation)
//IFCEXPECT(enqueued);
enqueued = spDispatcherQueue.TryEnqueue(() =>
{
// UNO-TODO: Animations are disabled because of https://github.com/unoplatform/uno/issues/5845
_tpScrollViewer.ChangeViewWithOptionalAnimation(null, spVerticalOffset, null,
false /* disableAnimation */);
true /* disableAnimation */);
});
}
}
Expand Down

0 comments on commit e435d25

Please sign in to comment.