建议json组件设置最大高度
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 描述问题:
建议json组件设置最大高度,超过后出现滚动条,不然页面被拉的很长
#### 截图或视频:

#### 如何复现(请务必完整填写下面内容):
1. 你是如何使用 amis 的?
sdk6.9.0
2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
3. 粘贴有问题的完整 `amis schema` 代码:
```
{
"type": "page",
"body": {
"type": "json",
"value": {
"a": "a",
"b": "b",
"b11": "b1",
"b21": "b",
"b31": "b",
"b41": "b",
"b51": "b",
"b61": "b",
"b71": "b",
"b81": "b",
"b91": "b",
"b01": "b",
"bq1": "b",
"bw1": "b",
"be1": "b",
"b1": "b1",
"b2": "b",
"b3": "b",
"b4": "b",
"b5": "b",
"b6": "b",
"b7": "b",
"b8": "b",
"b9": "b",
"b0": "b",
"bq": "b",
"bw": "b",
"be": "b",
"c": {
"d": "d"
}
}
}
}
```
4. 操作步骤
请简单描述一下复现的操作步骤...
Contributor guide
No contributing guide indexed for this repository
Research direction
Start from the reported amis schema entry with `"type": "json"` and reproduce it using SDK 6.9.0 with the provided large value. Inspect how the JSON component renders tall content; done means long JSON is constrained by a maximum height and displays a scrollbar without stretching the page.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100