Skip to content

Commit

Permalink
fix(super-tabs): increase debounceTime for resize method
Browse files Browse the repository at this point in the history
fixes #201
  • Loading branch information
ihadeed committed Jan 26, 2018
1 parent 3b0af6d commit 125184d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/super-tabs.ts
Expand Up @@ -286,7 +286,7 @@ export class SuperTabs implements OnInit, AfterContentInit, AfterViewInit, OnDes
}

// re-adjust the height of the slider when the orientation changes
const $windowResize = Observable.merge.apply(this, obsToMerge).debounceTime(10);
const $windowResize = Observable.merge.apply(this, obsToMerge).debounceTime(100);

const windowResizeSub = $windowResize.subscribe(() => {
this.resize();
Expand Down

0 comments on commit 125184d

Please sign in to comment.