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

ReanimatedError: [Reanimated] Trying to access property dismiss of an object which cannot be sent to the UI runtime., js engine: reanimated #3386

Open
Willham12 opened this issue Feb 6, 2025 · 2 comments · May be fixed by #3391
Assignees
Labels
Platform: Android This issue is specific to Android Repro provided A reproduction with a snack or repo is provided

Comments

@Willham12
Copy link

Description

Using keyboardDismissMode={DrawerKeyboardDismissMode.ON_DRAG} throws an error.

Steps to reproduce

<ReanimatedDrawerLayout
			ref={drawerRef}
			renderNavigationView={() => <DrawerPage />}
			drawerLockMode={DrawerLockMode.UNLOCKED}
			keyboardDismissMode={DrawerKeyboardDismissMode.ON_DRAG}
			drawerPosition={DrawerPosition.LEFT}
			drawerType={DrawerType.FRONT}>
			<View style={styles.innerContainer}>
				<GestureDetector gesture={tapGesture}>
					<View style={styles.box}>
						<Text>Open drawer</Text>
					</View>
				</GestureDetector>
			</View>
		</ReanimatedDrawerLayout>

Snack or a link to a repository

https://snack.expo.dev/ygDpxEygj712YjZ0FYNaD

Gesture Handler version

2.23.0

React Native version

0.75.4

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

Real device

Device model

Pixel 5

Acknowledgements

Yes

@github-actions github-actions bot added Repro provided A reproduction with a snack or repo is provided Platform: Android This issue is specific to Android labels Feb 6, 2025
@latekvo latekvo self-assigned this Feb 6, 2025
@latekvo latekvo linked a pull request Feb 6, 2025 that will close this issue
@latekvo
Copy link
Contributor

latekvo commented Feb 6, 2025

Hi, thanks for the report.
Does this PR fix this issue for you?

@Willham12
Copy link
Author

LGTM, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Platform: Android This issue is specific to Android Repro provided A reproduction with a snack or repo is provided
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants