FaridSafi / react-native-gifted-chat

💬 The most complete chat UI for React Native
https://gifted.chat
MIT License
13.56k stars 3.55k forks source link

RN 0.76.X - Multiline does not grow - New architecture #2552

Open claudiozam opened 2 weeks ago

claudiozam commented 2 weeks ago

Issue Description

The toolbar / composer height is always fixed. The auto grow is not working when i am writing multiples lines in IOS (Android No problem).

Steps to Reproduce / Code Snippets

https://github.com/user-attachments/assets/b5032f87-11a1-4387-b787-b8415138c024

Write multiple lines in the input field

Expected Results

https://github.com/user-attachments/assets/456332b7-081f-4dac-b182-a0c9fe87e3c7

The issue only occurs on iOS. If I disable the new architecture, it works fine.

There’s no problem on Android.

Additional Information

react-native: "0.76.1" react-native-gifted-chat: "^2.6.4" react-native-safe-area-context: "^4.14.0" react-native-reanimated: "^3.16.1" react-native-get-random-values: "^1.11.0" ENV['RCT_NEW_ARCH_ENABLED'] = '1' //TRUE

System: OS: macOS 15.0.1 CPU: (12) arm64 Apple M2 Max Memory: 15.95 GB / 64.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 22.10.0 - /opt/homebrew/bin/node Yarn: 1.22.22 - /opt/homebrew/bin/yarn npm: 10.9.0 - /opt/homebrew/bin/npm Managers: CocoaPods: 1.15.2 - /Users/claudiozamoszczyk/.rvm/gems/ruby-3.1.4@fastlane/bin/pod Homebrew: 4.4.2 - /opt/homebrew/bin/brew pip3: 24.2 - /opt/homebrew/bin/pip3 RubyGems: 3.3.26 - /Users/claudiozamoszczyk/.rvm/rubies/ruby-3.1.4/bin/gem Utilities: Make: 3.81 - /usr/bin/make GCC: 16.0.0 - /usr/bin/gcc Git: 2.47.0 - /opt/homebrew/bin/git Clang: 16.0.0 - /usr/bin/clang Curl: 8.7.1 - /usr/bin/curl OpenSSL: 3.3.2 - /opt/homebrew/bin/openssl SDKs: iOS SDK: Platforms: DriverKit 24.0, iOS 18.0, macOS 15.0, tvOS 18.0, visionOS 2.0, watchOS 11.0 IDEs: Xcode: 16.0/16A242d - /usr/bin/xcodebuild Languages: Bash: 3.2.57 - /bin/bash Java: 17.0.13 - /opt/homebrew/opt/openjdk@17/bin/javac Perl: 5.34.1 - /usr/bin/perl Python3: 3.13.0 - /opt/homebrew/bin/python3 Ruby: 3.1.4 - /Users/claudiozamoszczyk/.rvm/rubies/ruby-3.1.4/bin/ruby

zemuldo commented 1 week ago

Same problem here. RN 0.76.0, Happens only on ios