readium / swift-toolkit

A toolkit for ebooks, audiobooks and comics written in Swift
https://readium.org/mobile/
BSD 3-Clause "New" or "Revised" License
223 stars 96 forks source link

Larger Text Display Zoom on iPhone: Navigation bar pushes text #373

Open openm1nd opened 6 months ago

openm1nd commented 6 months ago

Bug Report

What happened?

Navigation bar seems to push the text ONLY when scroll mode is disabled

Expected behavior

Text should hold still while navigation bar shows

How to reproduce?

  1. Open iOS settings and select "Larger Text" zoom mode from Display menu image

  2. Open any book

  3. Disable scroll mode

  4. Tap anywhere to trigger navigation bar appearance/disappearance

Environment

Development environment

https://github.com/readium/swift-toolkit/assets/10010656/e9d3cf43-e310-40cf-8faa-6583184f4054

macOS: 14.0 platform: arm64 carthage: 0.39.0 Xcode 15.1 Build version 15C65

mickael-menu commented 6 months ago

I cannot reproduce on an iPhone 15 Pro and iPhone SE emulators on iOS 17.0.1. What did you use?

openm1nd commented 6 months ago

I found one more requirement - you must first go to iOS settings and select "Larger text" as a zoom mode image

mickael-menu commented 6 months ago

It looks like this is only reproducible on a physical iPhone device.