Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/renchap/react-native-36494-repro
https://github.com/renchap/react-native-36494-repro
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/renchap/react-native-36494-repro
- Owner: renchap
- Created: 2023-04-13T09:25:43.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-04-13T20:12:51.000Z (over 1 year ago)
- Last Synced: 2024-10-13T18:05:31.676Z (24 days ago)
- Language: Java
- Size: 789 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a reproduction for https://github.com/facebook/react-native/issues/36494 based on a base RN 0.72 RC1 app.
Reproduction code is in `Repro.tsx`
To repro, launch the app on iOS and see that the `` contains:
> Lorem ipsum dolor sit amet, consectLorem ipsum dolor sit amet, consectetur adipiscing elit
But `value` is initialized with
> Lorem ipsum dolor sit amet, consectetur adipiscing elit
![](SCR-20230413-kkgn.jpeg)
This happens with `multiline` and `maxLenght`, when the initial `value` is longer than `maxLenght / 2`. `onChangeText` and `onChange` are triggered when the component mounts, with `value` prepended to the actual `value` until it fills `maxLenght`.
This does not happen on Android.