mattermost / mattermost/react-native-paste-input
Android: onSelectionChange event is not triggered
Open
Nobody has claimed this yet.
- Dominant language
- Objective-C
- Stars
- 213
- Forks
- 38
- Avg merge
- 12h 25m
- Merged PRs (30d)
- 1
Description
onSelectionChange event is not triggered on android device
<PasteInput
onPaste={onPaste}
ref={ref}
value={text}
onChangeText={setText}
multiline
textBreakStrategy='simple'
autoCorrect={false}
importantForAutofill='no'
cursorColor={theme.color.blue_600}
onSelectionChange={(e) => {
console.log(e) // its not triggered on android device
}}
/>
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
Use the provided PasteInput example as the reproduction entry point on an Android device, confirming whether onSelectionChange fires during selection changes. Then inspect the component's Android-related implementation and tests; done means the event is triggered reliably on Android and the behavior is covered by a regression test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100