Skip to content

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

Open
@nick17728

Description

@nick17728

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions