amis icon indicating copy to clipboard operation
amis copied to clipboard

Textarea 和 Editor 都不能设定 height: 100%

Open cocotyty opened this issue 3 years ago • 1 comments

描述问题:

请用一段清晰简洁的文字描述问题是什么...

Textarea 和 Editor 都不能设定 height: 100%

截图或视频:

可以的话,尽可能提供截图或视频来补充描述你的问题...

如何复现(请务必完整填写下面内容):

  1. 你是如何使用 amis 的? sdknpm其他...

  2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在

  3. 粘贴有问题的完整 amis schema 代码:

code here...
  1. 操作步骤 请简单描述一下复现的操作步骤...

cocotyty avatar Jul 28 '22 15:07 cocotyty

通过className 调整样式吧

lurunze1226 avatar Jul 29 '22 11:07 lurunze1226

留意一下 FormItem 下面的 EditorControl 类的 max-height 样式,需要自定义 class 覆盖一下

BeMxself avatar Apr 13 '23 10:04 BeMxself

正常情况下,是可以通过style和"inputClassName": "h-full"来实现自定义高度: image 目前看确认有点问题,后续我们优化下。

wibetter avatar Jun 16 '23 08:06 wibetter