baidu / baidu/amis

移动端日期范围组件无法选中同一天,单选缺少搜索

Open
#9,243 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

问题1:移动端日期范围选择同一天有时选不中
复现条件:1、移动端日期范围组件已经有值
2、开始日期/结束日期选择同一天
现象:选不中,正常应该是点击同一天出现「始/终」再点确定就可以选中,但是有值的情况再次修改日期为同一天,就选不中了

#### 截图或视频:
![c10089a8aa70cd313e656609c54f2530](https://github.com/baidu/amis/assets/26893444/4506732a-5e3d-439a-b9ee-22b5dc9a3d2e)
![442bdc373aaa6bca2b8d926791d30025](https://github.com/baidu/amis/assets/26893444/c7fdb154-159b-441b-a139-9d11ebe74186)

问题2:移动端单选没有搜索功能,现在最多只能看到5个项,屏幕高度允许的情况下可以展示更多一些
![image](https://github.com/baidu/amis/assets/26893444/b0b8ddfb-46e6-4004-b8db-06addab84af3)

1. 你是如何使用 amis 的?
npm

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

4. 粘贴有问题的完整 `amis schema` 代码:
```
code here...
```

5. 操作步骤
请简单描述一下复现的操作步骤...

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing both reported problems in the mobile date-range and single-select components using the stated conditions. Trace the existing selection and option-display behavior, then verify that selecting the same date works when a value already exists and that single-select search or expanded visible options meet the intended mobile behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.