Closed M-HARIS-97 closed 1 year ago
@M-HARIS-97 please file a separate issue for page numbers.
As for this issue, the ReadiumView should be filling 100% of its parent so please check the parent. Please recreate this in the example app. I can't really help you with much until you do that.
@jspizziri Under normal circumstances, it works fine. But if we use a navigation header on the reading page, it doesn't fill 100% of its parent.
@M-HARIS-97 that sounds like an artifact of how your navigation component works, not this library. If you can demonstrate otherwise via the example repo I'll re-open this issue.
@jspizziri But it works fine on iOS. I use the same navigation header on iOS as well
iOS with header
iOS without Header
Anyway, I'll check out the example repo and update you
@M-HARIS-97 the navigation library itself could behave differently between those two platforms. That doesn't indicate an issue with this lib.
@jspizziri Ok
@jspizziri How to disable the full screen feature?
@M-HARIS-97 I'm not sure what you're asking. The view should simply be filling 100% of it's parent, so if you wrap it in a parent View
of a certain size it should respect that.
@jspizziri Got it ok. Ty :)
@jspizziri Is there a way to prevent the fill 100%? Because i am using parent height value is "device height - 100" but when i click Readium view it fills device height automatically. I was able to reproduce this problem using the sample project. Steps;
@M-HARIS-97 fork this project and create a repro in the example.
I'm having problems with fullscreen on android, to be honest I would like to remove it, is there any way to do this?
The app's fullscreen on android does not remove the React Navigation Header, and besides, if I activate and deactivate the fullscreen a few times in a row, the location starts to "return" to the beginning of the chapter. I believe that removing the fullscreen action solves the location problem
the fullscreen action I mean, is when you click in the middle of the screen
Readium full screen option works well on iOS. But it doesn't work well on Android.
In android :- Title and status bar part is not hidden in full screen option. Is there an option to enable / disable full screen? Also, how to handle the bottom page number indication? (Page number hint doesn't work on Android)
Please check the following screenshots;
iOS![Simulator Screen Shot - iPhone 13 - 2022-12-15 at 11 30 29](https://user-images.githubusercontent.com/57429370/207785227-da8de1a7-7e21-4ea7-af77-f02736e3c2cf.png)
android![image](https://user-images.githubusercontent.com/57429370/207785271-6298cef8-cec7-463d-8fe8-c0f88978fe8b.png)