mohebifar / mohebifar/react-native-copilot
Text Input not working inside CopilotStep
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
Current Behavior
When I have a text input inside a copilot step, i can only enter one word at a time
Input Code
<CopilotStep
order={5}
text={translate("home.tutorial.step5")}
name="description">
<CopilotView style={styles.locationBox}>
<Text style={styles.locationTitle}>
{translate("home.description")}
</Text>
<View style={styles.textAreaContainer}>
<TextInput
style={styles.messageArea}
multiline
numberOfLines={5}
placeholder={translate("home.enterDescription")}
value={description}
onChangeText={onChangeDescription}
/>
</View>
</CopilotView>
</CopilotStep>
Expected behavior/code
Should be able to type smoothly.
Environment
- Device: Pixel 3a Simulator
- OS: Android
react-native-copilot: 2.5.1react-native: 0.63.4react-native-svg: 12.1.0
Possible Solution
Additional context/Screenshots
Contributor guide
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 issue on Android using the CopilotStep and TextInput example in the report with the listed react-native-copilot 2.5.1 and React Native 0.63.4 versions. Trace the CopilotStep/TextInput interaction and verify that multiline input accepts spaces and multiple words smoothly when done.
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
- Mostly clear
- Newbie friendliness
- 45/100