移动端 select组件 上下滑动时 如果动画未加载完 则无法选中当前值
- Dominant language
- TypeScript
- Stars
- 18.9k
- Forks
- 2.7k
- PR merge metrics
- No merged PRs in 30d
Description
#### 描述问题:
移动端 select组件 上下滑动时 如果动画未加载完 则无法选中当前值
#### 截图或视频:
可以的话,尽可能提供截图或视频来补充描述你的问题...
#### 如何复现(请务必完整填写下面内容):
1. 你是如何使用 amis 的?
npm
2. amis 版本是什么?请先在最新 beta 版本测试问题是否存在
"amis": "^3.4.2",
4. 粘贴有问题的完整 `amis schema` 代码:
```
{
"type": "select",
"label": "紧急程度",
"name": "urgencyLevel",
"id": "u:0d7a22b7a3aa",
"source": {
"url": "/system/dict/fieldList",
"method": "get",
"data": {
"code": "urgencyLevel"
}
},
"labelField": "label",
"valueField": "label",
"clearable": true,
"searchable": true,
"multiple": false,
"labelClassName": "text-sm",
"className": "text-sm"
}
```
5. 操作步骤
进入select组件 上划 当组件没有停止滑动 还在滑动动画中时 点击确定 无法选中当前页面选中的一项
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the mobile select component using the provided amis schema and reproduce the issue by swiping and confirming while the scroll animation is still running. Done means the item currently shown after the swipe can be selected when confirmation is pressed before the animation finishes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100