From 011b6d14e4475e9d2e3f1776319362d9ba4b9d56 Mon Sep 17 00:00:00 2001 From: John O'Keefe Date: Wed, 16 Sep 2026 17:30:00 -0400 Subject: [PATCH] =?UTF-8?q?fix:=20pin=20foliate-js=201305a52=20=E2=80=94?= =?UTF-8?q?=20fx=20renderer=20ignores=20toolbar=20resizes=20during=20selec?= =?UTF-8?q?tion?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fx renderer re-rendered the PDF on every viewport resize; mobile browser toolbar transitions (7-17% height change) during a text selection drag caused the old canvas to be cleared for re-rendering while the async pdf.js render raced with the next resize, blanking the page. Now gated by the same 25% threshold as the paginator. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 736b19c..231e6f1 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "dev": "npm run build:ts:dev && npm run build:css" }, "dependencies": { - "@bookhoard/foliate-js": "git+https://git.linuxhg.com/Bookhoard/foliate-js.git#94bb384", + "@bookhoard/foliate-js": "git+https://github.com/john-okeefe/foliate-js.git#1305a52", "alpinejs": "^3.15.8", "chart.js": "^4.5.1", "highlight.js": "^11.11.1",