mrzachnugent / react-native-reusables

Universal shadcn/ui for React Native featuring a focused collection of components - Crafted with NativeWind v4 and accessibility in mind.
https://rnr-docs.vercel.app
MIT License
3.29k stars 137 forks source link

[ BUG ] Expo crashes when web and ios used simultaneously #255

Open slavagoreev opened 3 days ago

slavagoreev commented 3 days ago

Describe the bug App crashes after opening the same page using web and ios app.

To Reproduce Steps to reproduce the behavior:

  1. Start with pnpm run dev:showcase using the latest committed version of rnr
  2. Go to 'Alert Dialog' page on web and click
  3. Go to 'Alert Dialog' page on ios app
  4. See error
    WARN  [Reanimated] No animation was provided for the sequence 
    Invariant Violation: Rotate transform must be expressed in degrees (deg) or radians (rad): {"rotate":"initial"}

Expected behavior No error

Screenshots

image

https://github.com/user-attachments/assets/c96433c6-b379-4604-a234-e1185e61163f

Platform (please complete the following information):

Additional context Tried clearing all node_modules, .expo and etc. Fresh install recreates the same error

mrzachnugent commented 3 days ago

Hey @slavagoreev, to my knowledge, this is a NativeWind bug. I work on either mobile or web at one time to prevent this from happening.

Could you create a minimal reproduction repo and create an issue in the NativeWind repo with it attached?