Code Monkey home page Code Monkey logo

Comments (12)

jspizziri avatar jspizziri commented on June 2, 2024

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

from react-native-readium.

M-HARIS-97 avatar M-HARIS-97 commented on June 2, 2024

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

from react-native-readium.

jspizziri avatar jspizziri commented on June 2, 2024

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

from react-native-readium.

M-HARIS-97 avatar M-HARIS-97 commented on June 2, 2024

@jspizziri But it works fine on iOS. I use the same navigation header on iOS as well

iOS with header

Simulator Screen Shot - iPhone 13 - 2022-12-15 at 19 58 13

iOS without Header

Simulator Screen Shot - iPhone 13 - 2022-12-15 at 19 58 21

Anyway, I'll check out the example repo and update you

from react-native-readium.

jspizziri avatar jspizziri commented on June 2, 2024

@M-HARIS-97 the navigation library itself could behave differently between those two platforms. That doesn't indicate an issue with this lib.

from react-native-readium.

M-HARIS-97 avatar M-HARIS-97 commented on June 2, 2024

@jspizziri Ok

from react-native-readium.

M-HARIS-97 avatar M-HARIS-97 commented on June 2, 2024

@jspizziri How to disable the full screen feature?

from react-native-readium.

jspizziri avatar jspizziri commented on June 2, 2024

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

from react-native-readium.

M-HARIS-97 avatar M-HARIS-97 commented on June 2, 2024

@jspizziri Got it ok. Ty :)

from react-native-readium.

M-HARIS-97 avatar M-HARIS-97 commented on June 2, 2024

@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;

  1. Add height property (device height - 100)
  2. Click on Readium view body part
  3. Then the Readium view height changes oddly

from react-native-readium.

jspizziri avatar jspizziri commented on June 2, 2024

@M-HARIS-97 fork this project and create a repro in the example.

from react-native-readium.

andrebeolchi avatar andrebeolchi commented on June 2, 2024

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

test.webm

from react-native-readium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.