mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-08 02:11:35 +00:00
Fix EPUB.js CFI navigation bug
- Add patch-package to client dependencies - Add postinstall script to apply patches automatically - Add patch for EPUB.js v0.3.93 to fix CFI navigation - Changes scrollBy to scrollTo in continuous manager for proper absolute positioning - Fixes issue where CFI navigation loads content but target is outside viewport This resolves CFI-based features like bookmarks, highlights, and reading position sync.
This commit is contained in:
parent
0107cb4782
commit
a498fdf17d
2 changed files with 40 additions and 1 deletions
|
|
@ -12,7 +12,8 @@
|
|||
"generate": "nuxt generate",
|
||||
"test": "npm run compile-tailwind && cypress run --component --browser chrome",
|
||||
"test-visually": "npm run compile-tailwind && cypress open --component --browser chrome",
|
||||
"compile-tailwind": "npx @tailwindcss/cli -i ./assets/tailwind.css -o ./cypress/support/tailwind.compiled.css"
|
||||
"compile-tailwind": "npx @tailwindcss/cli -i ./assets/tailwind.css -o ./cypress/support/tailwind.compiled.css",
|
||||
"postinstall": "patch-package"
|
||||
},
|
||||
"author": "advplyr",
|
||||
"license": "ISC",
|
||||
|
|
@ -38,6 +39,7 @@
|
|||
"devDependencies": {
|
||||
"@nuxtjs/pwa": "^3.3.5",
|
||||
"@tailwindcss/cli": "^4.0.14",
|
||||
"patch-package": "^8.0.0",
|
||||
"postcss": "^8.3.6",
|
||||
"tailwindcss": "^4.0.13"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue