Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Decrease max frequency of breadcrumbs resize handler's calls
Browse files Browse the repository at this point in the history
  • Loading branch information
artkravchenko committed Apr 6, 2017
1 parent 27b7a06 commit 4f0b7de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/breadcrumbs/breadcrumbs.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ export default class Breadcrumbs extends Component {
shouldDisplay: true,
visibleCrumbs: this.childrenCount
}, this.updateVisibleCrumbs);
}, 100);
}, 250);

updateVisibleCrumbs = () => {
const breadcrumbsWidth = this._breadcrumbs.offsetWidth;
Expand Down

0 comments on commit 4f0b7de

Please sign in to comment.