4 comments (4 comments)0 reactions (0 reactions)0 assignees (0 assignees)JavaScript4,458 stars (4,458 stars)1,218 forks (1,218 forks)batch import
help wanted
Description
如题,“日期时间选择器”在苹果手机上点击时会弹出手机输入框,怎么解决呢?
Contributor guide
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- bug
- DifficultyEstimated implementation difficulty for a new contributor, from 1 for very small changes to 5 for expert-level work.
- 3
- Estimated timeA rough time range for an experienced contributor to investigate, implement, test, and prepare a pull request.
- 1-3 hours
- Activity statusHow available the issue appears right now: fresh, active, stale, blocked, or waiting on maintainer input.
- stale
- ClarityHow clearly the issue explains the expected change, acceptance criteria, and next step.
- clear
- Prerequisites
- basic HTML/CSSknowledge of iOS WebKit behavior
- Newbie friendlinessA 1-100 score estimating how approachable this issue is for first-time contributors.
- 30
- Research direction
- The issue is that the date time picker component triggers the native iOS keyboard on click. This is a common problem with custom input overlays. To fix, one could prevent default touch events or use the `readonly` attribute on the underlying input. However, since the repository is no longer maintained, the fix may not be merged. Investigate the jQuery weui source code for the date picker component (likely in `src/js/calendar.js` or similar) and implement a solution that blocks the keyboard from appearing. Consider using `inputmode='none'` or capturing the touch event to prevent default behavior.