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

Application crash when using transformOrigin in useAnimatedStyle #5895

Open
gvsboy opened this issue Apr 14, 2024 · 3 comments
Open

Application crash when using transformOrigin in useAnimatedStyle #5895

gvsboy opened this issue Apr 14, 2024 · 3 comments
Assignees
Labels
Platform: iOS This issue is specific to iOS Repro provided A reproduction with a snippet of code, snack or repo is provided Reproducible 🎉

Comments

@gvsboy
Copy link

gvsboy commented Apr 14, 2024

Description

When using transformOrigin in useAnimatedStyle, the application crashes with the following error: ReanimatedError: Exception in HostFunction: <unknown>, js engine: reanimated

Simulator Screenshot - iPhone 12 - 2024-04-13 at 20 49 10

I see one related issue (#5726) but it is closed so I decided to open a new issue with more details.

Steps to reproduce

I've provided a Snack link so you can reproduce:

  1. Open the Snack link
  2. Click on iOS
  3. The application loads
  4. Hold down option and drag on the ball to simulate a pinch. The app should crash immediately.

Snack or a link to a repository

https://snack.expo.dev/@gvsboy/reanimated-crash-demo

Reanimated version

3.8.1

React Native version

0.73.6

Platforms

iOS

JavaScript runtime

Hermes

Workflow

React Native

Architecture

Paper (Old Architecture)

Build type

Debug app & dev bundle

Device

iOS simulator

Device model

iPhone 12

Acknowledgements

Yes

@github-actions github-actions bot added Platform: iOS This issue is specific to iOS Repro provided A reproduction with a snippet of code, snack or repo is provided labels Apr 14, 2024
@gmartpad
Copy link

gmartpad commented May 1, 2024

Any update?

@szydlovsky
Copy link
Contributor

@gmartpad working on it 🫡

@a-eid
Copy link

a-eid commented May 9, 2024

We're having the same issue, not sure if it was working in previous versions of reanimated.

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

No branches or pull requests

4 participants