baidu / baidu/amis

移动端的 Select 选择器 选项过多无法下拉

Open
#3,252 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

need confirm
Dominant language
TypeScript
Stars
18.9k
Forks
2.7k
PR merge metrics
No merged PRs in 30d

Description

描述问题:

移动端的 Select 选择器 选项过多无法下拉

截图或视频:

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

如何复现(请务必完整填写下面内容):
  1. 你是如何使用 amis 的?
    sdk

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

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

{
  "type": "select",
  "name": "Sort",
  "disabled": false,
  "label": "分类",
  "labelRemark": null,
  "options": [
    {
      "label": "全部分类",
      "value": "全部分类"
    },
    {
      "label": "数码影像",
      "value": "数码影像"
    },
    {
      "label": "电脑外设",
      "value": "电脑外设"
    },
    {
      "label": "家用电器",
      "value": "家用电器"
    },
    {
      "label": "服饰鞋帽",
      "value": "服饰鞋帽"
    },
    {
      "label": "个护化妆",
      "value": "个护化妆"
    },
    {
      "label": "运动健康",
      "value": "运动健康"
    },
    {
      "label": "母婴玩具",
      "value": "母婴玩具"
    },
    {
      "label": "食品医药",
      "value": "食品医药"
    },
    {
      "label": "家具家装",
      "value": "家具家装"
    },
    {
      "label": "奢品箱包",
      "value": "奢品箱包"
    },
    {
      "label": "图像音像",
      "value": "图像音像"
    },
    {
      "label": "钟表手表",
      "value": "钟表手表"
    },
    {
      "label": "黄金珠宝",
      "value": "黄金珠宝"
    },
    {
      "label": "厨具餐具",
      "value": "厨具餐具"
    },
    {
      "label": "办公乐器",
      "value": "办公乐器"
    },
    {
      "label": "汽车用品",
      "value": "汽车用品"
    },
    {
      "label": "宠物绿植",
      "value": "宠物绿植"
    },
    {
      "label": "手机通讯",
      "value": "手机通讯"
    },
    {
      "label": "出行旅游",
      "value": "出行旅游"
    }
  ],
  "required": true,
  "checkAll": false,
  "joinValues": true,
  "placeholder": "请选择分类",
  "selectFirst": true,
  "description": ""
}
  1. 操作步骤
    安卓或iOS端选项无法下拉选择最后的几个选项,PC网页没问题

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the provided Select schema on both Android and iOS, focusing on scrolling to the final options; compare this with the working PC behavior. Trace the mobile Select entry point used by the SDK and verify the fix by confirming every option can be reached and selected on both mobile platforms.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, mobile-dev
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.