Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'KeyboardTrackingScrollBehaviorNone' of null - NativeModules #3048

Open
2 of 7 tasks
Mutai-Gilbert opened this issue Apr 28, 2024 · 0 comments
Open
2 of 7 tasks
Labels
bug a bug in one of the components

Comments

@Mutai-Gilbert
Copy link

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

  • 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
  • iOS
  • Web
@Mutai-Gilbert Mutai-Gilbert added the bug a bug in one of the components label Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug a bug in one of the components
Projects
None yet
Development

No branches or pull requests

1 participant