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

First page on it's own spread not working in RTL mode #1305

Open
yankl opened this issue Jan 3, 2024 · 0 comments
Open

First page on it's own spread not working in RTL mode #1305

yankl opened this issue Jan 3, 2024 · 0 comments

Comments

@yankl
Copy link
Contributor

yankl commented Jan 3, 2024

Description

This can be reproduced as follows: on the "bookreader simple demo" compare the demo as is, with what happens when you add the following line to the options object in BookReaderJSSimple.js :
pageProgression: 'rl',
(switching in each case to two-page mode)
Then, instead of the first page being on it's own spread, it's combined with the next page.

Evidence / Screenshot (if possible)
LTR mode:
image

RTL mode:
image

Expectation

Since each value in the data array is supposed to represent a "spread", and this first item contains only the object for the first page in both cases, I would except the first page to be on it's own spread whatever the setting of pageProgression.

Context

Windows 10, Chrome 120.0.6099.130, BookReader 5.0.0-77

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant