baidu / baidu/amis

160版本下拉框条目过多在移动端展示不全无法选择

Open
#3,393 0 comments 0 reactions 0 assignees View on GitHub
need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

#### 描述问题:

160/161版本下拉框条目过多在移动端展示不全无法选择,比如condition-builder组件。

如果有超过10行,第11行之后的就会显示不出来,PC端有滚动条往下拉,移动端没有滚动条无法往下。153及其之前的版本不限制下拉框的长度无须滚动,但是超过页面最下发也会被截断。

#### 截图或视频:

160版本下拉框条目过多在移动端展示不全无法选择

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

1. 你是如何使用 amis 的?
`sdk`

2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
1.6.0,1.6.1
3. 粘贴有问题的完整 `amis schema` 代码:
```
{
"type": "condition-builder",
"label": "条件组件",
"name": "conditions",
"description": "适合让用户自己拼查询条件,然后后端根据数据生成 query where",
"fields": [
//配置20个field
{
xxx
}
]
}
```

4. 操作步骤
似乎移动端不支持传统的滚动条,condition-builder等组件的下拉项能否也可以调整为类似于select的options在移动端的展示方式。

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the issue in the amis SDK with the condition-builder schema and 20 fields on a mobile device using versions 1.6.0 or 1.6.1. Compare its dropdown behavior with select options on mobile; done means entries after the tenth row are visible and selectable without relying on a desktop scrollbar.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.