react-pdf icon indicating copy to clipboard operation
react-pdf copied to clipboard

<View fixed> is not rendered properly

Open PerfectPixel opened this issue 8 years ago • 3 comments

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 screen shot 2018-07-03 at 13 37 50

2nd page screen shot 2018-07-03 at 13 37 54

3rd page screen shot 2018-07-03 at 13 37 57

4th page screen shot 2018-07-03 at 13 38 00

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>
...

PerfectPixel avatar Jul 03 '18 11:07 PerfectPixel

Experiencing the same on 1.0.0-alpha.8.

awslattery avatar Aug 02 '18 22:08 awslattery

I'm seeing the same thing on 1.0.0-alpha.15

dberringer avatar Aug 31 '18 19:08 dberringer

Probably going to be fixed in #285. Thanks for reporting it

diegomura avatar Sep 01 '18 06:09 diegomura