flutter_cached_pdfview icon indicating copy to clipboard operation
flutter_cached_pdfview copied to clipboard

Once rotate the screen from verticle to horizon, the position of pdf runs away

Open jason19970210 opened this issue 3 years ago • 5 comments

Testing env : iOS 14.8 / Android 11

The bug only happening on Android devices.

Please take a look into this !! Thanks.

jason19970210 avatar Dec 11 '21 03:12 jason19970210

me too. when I change the orientation screen from portrait to landscape, it show blank screen: D/jniPdfium(18011): Init FPDF library D/jniPdfium(18011): Destroy FPDF library

minhx3 avatar Dec 16 '21 03:12 minhx3

@jason19970210 @minhx3 this solutions will help https://github.com/endigo/flutter_pdfview/issues/9#issuecomment-621162440

binSaed avatar Dec 16 '21 13:12 binSaed

@AbdOoSaed

Hello there, I have check that method, but I have no idea how to deal with that pdfViewerKey shows in didChangeMetrics override function !!!

Could you help to make an simple sample for that implementation within example directory ? Thanks a lot for helping us !!

By the way, I really love your lib lol !!!

jason19970210 avatar Dec 17 '21 17:12 jason19970210

@jason19970210 @minhx3 this solutions will help endigo/flutter_pdfview#9 (comment)

it is a work arround for orientation, but also on setState it goes blanc!

lcyper avatar Feb 15 '22 22:02 lcyper

This will help https://www.youtube.com/watch?v=gAUVz0U7eyA

myselfuser1 avatar Mar 17 '23 12:03 myselfuser1