react-pdf
react-pdf copied to clipboard
<View fixed> is not rendered properly
OS: macOS High Sierra 10.13.5
React-pdf version: 0.7.6 1.0.0
Description:
0.7.6
<View fixed>...</View> does not have any effect. The element is only visual on the first page.
1.0.0
<View fixed>...</View> is displayed on every page, however, on every page the fixed content is indented further.
1st page

2nd page

3rd page

4th page

How to replicate issue including code snippet (if applies):
...
<Document>
<Page style={styles.body} wrap>
<View fixed>
<Text style={styles.header}>
~ Created with react-pdf ~
</Text>
</View>
...
</Page>
</Document>
...
Experiencing the same on 1.0.0-alpha.8.
I'm seeing the same thing on 1.0.0-alpha.15
Probably going to be fixed in #285. Thanks for reporting it