RocketChat / Rocket.Chat.ReactNative

Rocket.Chat mobile clients
https://rocket.chat
MIT License
1.91k stars 1.14k forks source link

Error opening the emoji keyboard #5714

Closed naman1608 closed 3 weeks ago

naman1608 commented 3 weeks ago

Description:

Getting a Render Error when clicking on the emoji in the keyboard which should open the emoji keyboard.

https://github.com/RocketChat/Rocket.Chat.ReactNative/assets/74304916/0fd1bf1a-734a-49da-9775-a5d17e26683b

Environment Information:

Steps to reproduce:

  1. Join any workspace and then open a channel
  2. Click on the empty space in the text field at the bottom
  3. Click on the emoji icon

Expected behavior:

Emoji keyboard to be opened

Actual behavior:

Render error with log: Error: NativeViewGestureHandler must be used as a descendant of GestureHandlerRootView. Otherwise the gestures will not be recognized. See https://docs.swmansion.com/react-native-gesture-handler/docs/installation for more details.

Additional context:

I think some component is being imported from 'react-native-gesture-handler' which is causing this error.

diegolmello commented 3 weeks ago

Just tested develop branch in release mode it looks like it's working.

naman1608 commented 3 weeks ago

How to run in release mode?