Incorrect layout when rotating the device with an FXL publication

Open
#122 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, swift
Domain
mobile-dev

Research direction

Start by reading fixed.js, especially the layoutPage function identified in the issue, and trace how it handles device rotation for a fixed-layout EPUB. Compare the layout before and after rotating from landscape back to portrait. Done means the publication displays correctly in portrait after that rotation.

Written by the indexing model from the issue text.

Description

First, I rotate device is landscape and revert to portrait (Epub fixed image Book)
Screen Shot 2563-04-15 at 2 39 03 PM

Screen Shot 2563-04-15 at 2 41 51 PM

Screen Shot 2563-04-15 at 2 39 19 PM

I think the problem is function layoutPage on fixed.js
I'm not expert javascript so do not know how to solve the problem
Screen Shot 2563-04-15 at 2 45 57 PM

Dominant language
Swift
Stars
557
Forks
249
Avg merge
3h 52m
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from readium/swift-toolkit

All issues in readium/swift-toolkit

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.