Fix a bug in long text component

Long text component text was not being updated when the value was
changed.
This commit is contained in:
Shweelan Samson authored and Zaid Abdulla committed 2019-07-05 14:38:42 -07:00
1 parent fada96bf47
commit 6d5d94652e
1 file changed
-1
-1
View File
@@ -27,7 +27,6 @@ const component: ClosureComponent = (): Component => {
const element = vnode.attrs["element"] || "span"; const element = vnode.attrs["element"] || "span";
function overflowed(_vnode): void { function overflowed(_vnode): void {
if (_vnode.dom.classList.contains("long-text-overflowed")) return;
_vnode.dom.classList.add("long-text-overflowed"); _vnode.dom.classList.add("long-text-overflowed");
_vnode.dom.onclick = e => { _vnode.dom.onclick = e => {
overlay.open(() => { overlay.open(() => {