Skip to content

Exception in HostFunction: Loss of precision during arithmetic conversion: (long) 0.29433099655877976 #129

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

Open
nick17728 opened this issue Jan 28, 2025 · 2 comments

Comments

@nick17728
Copy link

nick17728 commented Jan 28, 2025

Hi im facing this issue on android after migrating to expo ~52 ,please let me know how to fix it

Exception in HostFunction: Loss of precision during arithmetic conversion: (long) 0.29433099655877976

 <AnimatedScrollView
      HeaderComponent={<View style={{backgroundColor:"red"}}></View>}
      headerImage={{uri:"https://images.unsplash.com/photo-1536152470836-b943b246224c?q=80&w=1938&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D"}}
    >
     {Array.from({ length: 20 }, (_, i) => (
          <View key={i} style={styles.card}>
            <Text style={styles.cardText}>Item {i + 1}</Text> //com
          </View>
        ))}
    </AnimatedScrollView>

Please check the snack on android device

Expo link to issue

@nick17728
Copy link
Author

@kanelloc any updates on this ?

@adhinugraha
Copy link

any updates on this ?

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