error when toggling between portrait and landscape mode - RadaeePDF.com
Signin/Signup with: 
Welcome, Guest
Username: Password: Remember me
01 Jun 2018
During last few days we're experiencing some delay in website stmp provider channel.
Some notification email from the website might not reaching containers.
We're working on a definitive solution.
Read More...
Questions about iOS development and PDF

TOPIC: error when toggling between portrait and landscape mode

error when toggling between portrait and landscape mode 3 weeks 5 days ago #13913

  • pooja
  • pooja's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Hi,
PDF screen turns white when user toggles between portrait and landscape mode when in a form. Also, toggling between horizontal and vertical erases text in PDF. Text should always stay. Both these issues are happening for iOS and Android both. Please suggest fix.

Thanks,
Pooja

Please Log in or Create an account to join the conversation.

error when toggling between portrait and landscape mode 3 weeks 4 days ago #13914

  • Davide
  • Davide's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 812
  • Karma: 17
  • Thank you received: 65
Hi,
this is an expected behaviour, because when you rotate the device, the pdf has to be re-scaled and re-rendered.

Please Log in or Create an account to join the conversation.

error when toggling between portrait and landscape mode 3 weeks 4 days ago #13918

  • pooja
  • pooja's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
But it should not clear the form fields right? It currently clears the form fields after rotate. For eg. if I write something to a form field, and rotate the device, the text is gone. Expected behavior is that the text stays even after rotate.

Please Log in or Create an account to join the conversation.

Last edit: by pooja.

error when toggling between portrait and landscape mode 3 weeks 3 days ago #13921

  • Davide
  • Davide's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 812
  • Karma: 17
  • Thank you received: 65
Hi,
can you reproduce the issue with the last demo project? www.radaeepdf.com/download/download-prev...e/66-radaeepdf-3152b
Can you reproduce it with all the pdfs?
Can you please send us a pdf with that issue?

We have tried with some pdfs but we can't reproduce it.

Please Log in or Create an account to join the conversation.

error when toggling between portrait and landscape mode 3 weeks 3 days ago #13925

  • pooja
  • pooja's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 38
  • Thank you received: 0
Yes. I have attached the file. Type something in one of the fields, keep the cursor on that field after typing, don't move it. Rotate screen now. You will see that the text is gone.
Attachments:

Please Log in or Create an account to join the conversation.

error when toggling between portrait and landscape mode 3 weeks 2 days ago #13928

  • emanuele
  • emanuele's Avatar
  • Offline
  • Moderator
  • Moderator
  • Posts: 501
  • Karma: 15
  • Thank you received: 55
Hi,
this is the standard behavior of the demo project.
When you tap an edit text annotation a native textfield is added on it, then you can type some text.
If you rotate the device without tapping on return key or on the screen, the page will be re-rendered and the textfield will be removed without calling the annot save method.
If you want to change this behavior, you can edit the rotation method and save the textfield annot content.

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum