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

[v3] boxShadow makes the app crash (Android) #455

Open
giovannilondero opened this issue Dec 18, 2024 · 1 comment
Open

[v3] boxShadow makes the app crash (Android) #455

giovannilondero opened this issue Dec 18, 2024 · 1 comment

Comments

@giovannilondero
Copy link

giovannilondero commented Dec 18, 2024

Description

It seems that various forms of boxShadow are not correctly supported.
boxShadow examples taken from here https://reactnative.dev/blog/2024/10/23/release-0.76-new-architecture#boxshadow.

Works without Unistyles.
Not tested on iOS.

Steps to Reproduce

  1. Move on the provided repository
  2. run the app (npm i, npx expo run:android)
  3. try uncommenting boxShadow examples in https://github.com/giovannilondero/unistyles-boxshadow/blob/master/app/index.tsx

Snack or Repository Link (Optional)

https://github.com/giovannilondero/unistyles-boxshadow

Unistyles Version

3.0.0-beta.4

React Native Version

0.76.5

Platforms

Android

Expo

Yes

@giovannilondero giovannilondero changed the title [v3] boxShadow not correctly supported [v3] boxShadow makes the app crash (Android) Dec 18, 2024
@sethwololo
Copy link

On iOS Simulator the app keeps running, but the shadow disappears. It works if you use BoxShadowValue without defining a color.

On Android emulator I saw a message about a string being serialized to a double (or something like that) for a second before it crashed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants