react-native-ui-lib icon indicating copy to clipboard operation
react-native-ui-lib copied to clipboard

Cannot read property 'KeyboardTrackingScrollBehaviorNone' of null - NativeModules

Open Mutai-Gilbert opened this issue 9 months ago • 1 comments

Description

I'm launching my App with the use of "react-native-ui-lib": "~5.22.0" and getting the following exception on launch: Screenshot_2024-04-28_at_4 16 47_PM

The application throws a TypeError when attempting to access the 'KeyboardTrackingScrollBehaviorNone' property, indicating that the object being referenced is null at the time of property access. This issue occurs when using the Hermes JavaScript engine in a React Native application, potentially during keyboard events or when modifying scroll behaviors.

Related to

  • [x] Components
  • [ ] Demo
  • [ ] Docs
  • [ ] Typings

Steps to reproduce

  1. Clone the app
  2. Change to the project directory and run npm to install dependencies
  3. Run npx pod-install to fetch and install pod packages and dependencies
  4. Run npx react-native start --reset-cache to start the application

Expected behavior

The application should start without crashing

Actual behavior

An error is thrown, and the app crashes.

  • React Native version: 0.71.4
  • React Native UI Lib version: 5.22.0

Affected platforms

  • [ ] Android
  • [x] iOS
  • [ ] Web

Mutai-Gilbert avatar Apr 28 '24 19:04 Mutai-Gilbert

same problem

BjornSodenberg avatar Aug 22 '24 09:08 BjornSodenberg