react-component / react-component/picker
【BUG】datepicker timepicker使用ref.focus无法弹窗选择器
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 304
- Forks
- 345
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 7
Description
关于日期类选择器使用ref.focus无法弹窗选择器。
我查看了源码最新组件是通过mouseDown事件弹窗,focus是只能给input提供焦点事件,但是无法弹窗。不知ref中focus的用意
version
- rc-picker 1.4.1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the date/time picker behavior described for rc-picker 1.4.1, comparing ref.focus with the mouseDown path mentioned in the issue. Read the picker source around those entry points and determine the intended focus contract; done requires a documented, agreed behavior for whether ref.focus should open the selector.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100