mirror of
https://github.com/john-okeefe/foliate-js.git
synced 2026-10-23 14:49:52 -04:00
fix(paginator): bail from expand() when the iframe document is torn down
A queued resize tick can run against a not-yet-parsed or unloaded
iframe; documentElement is null then and expand() threw inside the
ResizeObserver callback. Observed live in the Android app (twice in
row during boot and page turns). Follows the 50f56ee guard family.
This commit is contained in:
1 parent
ac699e71ee
commit
111898ee0e
2 files changed
+5
-1
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "foliate-js",
|
||||
"version": "0.5.0",
|
||||
"version": "0.5.1",
|
||||
"description": "Render e-books in the browser",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
||||
Reference in new issue
Block a user