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:
1 parent
fada96bf47
commit
6d5d94652e
1 file changed
-1
@@ -27,7 +27,6 @@ const component: ClosureComponent = (): Component => {
|
||||
const element = vnode.attrs["element"] || "span";
|
||||
|
||||
function overflowed(_vnode): void {
|
||||
if (_vnode.dom.classList.contains("long-text-overflowed")) return;
|
||||
_vnode.dom.classList.add("long-text-overflowed");
|
||||
_vnode.dom.onclick = e => {
|
||||
overlay.open(() => {
|
||||
|
||||
Reference in new issue
Block a user