Skip to content

Commit

Permalink
refactor: add tuiZonefreeScheduler to TuiMobileCalendar (#8896)
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode authored Sep 11, 2024
1 parent 9cd9c3c commit eb92a94
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,10 @@ export class TuiMobileCalendar implements AfterViewInit {
monthsScrollRef.elementScrolled(),
timer(SCROLL_DEBOUNCE_TIME, tuiZonefreeScheduler(this.ngZone)),
).pipe(
debounceTime(SCROLL_DEBOUNCE_TIME * 2),
debounceTime(
SCROLL_DEBOUNCE_TIME * 2,
tuiZonefreeScheduler(this.ngZone),
),
take(1),
takeUntil(touchstart$),
),
Expand Down

0 comments on commit eb92a94

Please sign in to comment.