From f21664668ce22565249767ce46229e343269d7e6 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 30 Sep 2025 11:15:42 +0800 Subject: [PATCH] bugfix --- bricks/input.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bricks/input.js b/bricks/input.js index d925d9c..d51d52f 100644 --- a/bricks/input.js +++ b/bricks/input.js @@ -923,10 +923,12 @@ bricks.UiText =class extends bricks.UiType { constructor(opts){ opts.dynsize = opts.dynsize || true; opts.cfontsize = opts.cfontsize || 1; + opts.height = '200px'; super(opts); this.uitype='text'; this.build(); this.charsize_sizing(); + this.set_style('overflow', 'auto'); this.bind('keydown', this.key_handle.bind(this)) } create(){