You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,21 @@ All notable changes to this project will be documented in this file. Take a look
4
4
5
5
## [Unreleased]
6
6
7
+
### Added
8
+
9
+
#### Navigator
10
+
11
+
* Added `VisualNavigatorDelegate.navigatorContentInset(_:)` to customize the content and safe-area insets used by the navigator.
12
+
* By default, the navigator uses the window's `safeAreaInsets`, which can cause content to shift when the status bar is shown or hidden (since those insets change). To avoid this, implement `navigatorContentInset(_:)` and return insets that remain stable across status bar visibility changes — for example, a top inset large enough to accommodate the maximum expected status bar height.
13
+
7
14
### Changed
8
15
16
+
#### Navigator
17
+
18
+
*`EPUBNavigatorViewController.Configuration.contentInset` now expects values that already include the safe area insets.
19
+
* If you previously supplied content-only margins, update them to add the safe-area values to preserve the same visible layout.
20
+
* Alternatively, implement `VisualNavigatorDelegate.navigatorContentInset(_:)` to compute and return the full insets (content + safe area), helping avoid layout shifts when system UI (e.g., the status bar) appears or disappears.
21
+
9
22
#### LCP
10
23
11
24
* The LCP License Document is now accessible via `publication.lcpLicense?.license`, even if the license validation fails with a status error or missing passphrase. This is useful for checking the end date of an expired license or renew a license.
0 commit comments