Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

Commit eaedf6d

Browse files
Merge pull request #474 from telerik/marchev/calendar-nre-scheduling
Fix a timing issue with scrolling in time ruler.
2 parents 350ac12 + 69c790d commit eaedf6d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Controls/Input/Input.UWP/Calendar/View/RadCalendar.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3315,8 +3315,10 @@ private async void CallUpdateUI()
33153315

33163316
if (this.pendingScrollTimeRuler != null)
33173317
{
3318-
await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => this.pendingScrollTimeRuler.Invoke());
3319-
this.pendingScrollTimeRuler = null;
3318+
await this.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () => {
3319+
this.pendingScrollTimeRuler?.Invoke();
3320+
this.pendingScrollTimeRuler = null;
3321+
});
33203322
}
33213323
}
33223324

0 commit comments

Comments
 (0)