From 3a7e8744c6d9069bcd2bdb25c6fcc4575ea51103 Mon Sep 17 00:00:00 2001 From: Zoltan Toth Date: Fri, 7 Dec 2018 14:32:38 -0500 Subject: [PATCH] Built the lib with the bugfix --- lib/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/index.js b/lib/index.js index 046c89d..7a6c3ca 100644 --- a/lib/index.js +++ b/lib/index.js @@ -440,6 +440,8 @@ var ClampLines = function (_PureComponent) { }, { key: 'clampLines', value: function clampLines() { + if (!this.element) return; + this.setState({ text: '' });