diegomura / diegomura/react-pdf

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

Open
#1,587 8 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
16.8k
Forks
1.3k
Avg merge
5h 6m
Merged PRs (30d)
52

Description

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

```
(

)} fixed />
```

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.