Meituan-Dianping / Meituan-Dianping/beeshell
BottomModal中uesRef拿到的ref没有open事件
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 285
- PR merge metrics
- No merged PRs in 30d
Description
使用useRef
const pickerRef = useRef(null)
<BottomModal
ref={pickerRef}
title='自定义选项'
cancelable={true}
/>

请问hook方式怎么打开modal
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
Start by inspecting the BottomModal component and its ref API, using the useRef and pickerRef example in the report as the entry point. Check existing examples or documentation for opening the modal through a hook; done should mean the expected hook-based behavior and usage are clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100