-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Closed
Labels
BugComponent: TextComponent: TextInputRelated to the TextInput component.Related to the TextInput component.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
- Review the documentation: https://facebook.github.io/react-native
- Search for existing issues: https://github.com/facebook/react-native/issues
- Use the latest React Native release: https://github.com/facebook/react-native/releases
Environment
React Native Environment Info:
System:
OS: macOS 10.14.1
CPU: (4) x64 Intel(R) Core(TM) i5-7600K CPU @ 3.80GHz
Memory: 49.77 MB / 8.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 8.12.0 - /usr/local/bin/node
Yarn: 1.9.4 - /usr/local/bin/yarn
npm: 6.4.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
Android SDK:
API Levels: 23, 24, 26, 27, 28
Build Tools: 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.2, 27.0.3, 28.0.1, 28.0.3
System Images: android-28 | Google APIs Intel x86 Atom
IDEs:
Android Studio: 3.2 AI-181.5540.7.32.5056338
Xcode: 10.1/10B61 - /usr/bin/xcodebuild
npmPackages:
react: 16.6.1 => 16.6.1
react-native: 0.57.5 => 0.57.5
npmGlobalPackages:
react-native-cli: 2.0.1
react-native-git-upgrade: 0.2.7
react-native-macos-cli: 2.0.1
Description
onContentSizeChange not firing when children TextInput (multiline) is grow
Reproducible Demo
<ScrollView
onContentSizeChange={({
nativeEvent: {
layout: { x, y, width, height },
},
}) => {
console.warn(height);
}}
>
<TextInput multiline />
</ScrollView>
Metadata
Metadata
Assignees
Labels
BugComponent: TextComponent: TextInputRelated to the TextInput component.Related to the TextInput component.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.