Skip to content

Commit

Permalink
fix(addon-mobile): PullToRefresh do not trigger pulled if dialog in…
Browse files Browse the repository at this point in the history
…side
  • Loading branch information
vladimirpotekhin committed Aug 16, 2024
1 parent 0f99e2a commit bacb056
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export class TuiPullToRefreshService extends Observable<number> {
startWith(null),
switchMap(() =>
tuiTypedFromEvent(this.element, 'touchstart', {passive: true}).pipe(
filter(() => !this.el.nativeElement.querySelector('tui-dialog')),
filter(() => !this.scrollTop),
map(({touches}) => touches[0].clientY),
switchMap(start =>
Expand Down

0 comments on commit bacb056

Please sign in to comment.