Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document Page rotates by default #1736

Open
4 tasks done
valentimcanejo opened this issue Feb 28, 2024 · 1 comment
Open
4 tasks done

Document Page rotates by default #1736

valentimcanejo opened this issue Feb 28, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@valentimcanejo
Copy link

Before you start - checklist

  • I followed instructions in documentation written for my React-PDF version
  • I have checked if this bug is not already reported
  • I have checked if an issue is not listed in Known issues
  • If I have a problem with PDF rendering, I checked if my PDF renders properly in PDF.js demo

Description

I'm using the document and page tags to render a pdf, but he's rotating my document by default, even if I put "0" in the rotate prop. How can I remove this default behavior?

Steps to reproduce

Show a pdf in the document component.

Expected behavior

Document page will keep it's original rotation

Actual behavior

Document page ignores the pdf default rotation and creates another one

Additional information

No response

Environment

  • Browser (if applicable):
  • React-PDF version:
  • React version:
  • Webpack version (if applicable):
@valentimcanejo valentimcanejo added the bug Something isn't working label Feb 28, 2024
@biennui1998mu
Copy link

biennui1998mu commented Mar 25, 2024

I have an issue when a pdf file has a horizontal page and another vertical. The lib makes the horizontal page rotate 90degs to become vertical. Is this issue close to yours @valentimcanejo and do you have any ideas for this? @wojtekmaj

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants