Skip to content

Render Image inside a Fixed View tag with render function causes undefined, reading 'width' issue #1587

@morningcocoa

Description

@morningcocoa

I get error:
Error: TypeError: Cannot read properties of undefined (reading 'width')

when trying to add an image/logo to a fixed View tag, and it needs to be the render function because I need the pageNumber logic

<View style={styles.pageNumber} render={({ pageNumber, totalPages }) => (
    <Image src="https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg" />
  )} fixed />

This use to work in 1.6, and I may have to revert back to version1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions