bug: not autoresizing when multiline
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- react-native
- Domain
- mobile-dev
Research direction
Start with the provided React Native PasteInput example using multiline={true} and numberOfLines={5}, and reproduce the sizing behavior. Trace how the component handles those props; done means the input automatically matches the text height with the shown configuration.
Written by the indexing model from the issue text.
Description
when multiline param is set and numberOfLines is defined it does not automatically adjusts itself to match height of text
https://github.com/user-attachments/assets/7c87f611-be33-4933-9ea2-4b28cde7d98b
current comp
<PasteInput
ref={inputRef}
disableCopyPaste={false}
onPaste={onPaste}
style={[{ color }, styles.input]}
multiline={true}
numberOfLines={5}
placeholder="This is a PasteInput"
submitBehavior="newline"
underlineColorAndroid="transparent"
keyboardType="default"
disableFullscreenUI={true}
textContentType="none"
autoComplete="off"
smartPunctuation="disable"
/>
- Dominant language
- Objective-C
- Stars
- 213
- Forks
- 38
- Avg merge
- 12h 25m
- Merged PRs (30d)
- 1
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.
More from mattermost/react-native-paste-input
-
v2 paste interception silently bails on RN 0.76+ Fabric (uses `__nativeTag` which is undefined) Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
mattermost/react-native-paste-input#54 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
mattermost/react-native-paste-input#47 · 6 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
All issues in mattermost/react-native-paste-input
Similar issues
-
clawsweeper:source-repro impact:other issue-rating: 🦞 diamond lobster P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
openclaw/openclaw-facetime#40 · 2 comments · 1 reaction ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
noah-nuebling/mac-mouse-fix#2054 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
obsproject/obs-studio#13918 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SwiftOldDriver/iOS-Weekly#5439 · 1 comment ·