diff --git a/src/Truncate.js b/src/Truncate.js index 2db1e034..ab4bd0f9 100644 --- a/src/Truncate.js +++ b/src/Truncate.js @@ -118,6 +118,7 @@ export default class Truncate extends Component { onTruncate } = this.props; + window.cancelAnimationFrame(this.timeout); if (typeof onTruncate === 'function') { this.timeout = window.requestAnimationFrame(() => { onTruncate(didTruncate);