fix(scroll): mouse wheel did not scroll the page
main.agent-native-app-main is a scroll container (overflow-y:auto + overscroll-contain) whose content equals its own height, so it swallowed the wheel and the document never scrolled; the site wrapper's overflow-x:hidden also made its overflow-y compute to auto. Neutralise both scrollers so the document is the only scroller (overflow-x:clip keeps horizontal clipping). Cache safety: the patched CSS kept its old hashed filename, and nginx served /assets/* as immutable for a year, so visitors with the earlier CSS could never receive the fix. Renamed the stylesheet to a content hash and updated 34 HTML references, switched /assets/ to no-cache (revalidate, 304), bumped sw.js VERSION to v2.1.2. docs/deploy-dokploy.md updated.
This commit is contained in:
1 parent
ae34597847
commit
82374ebfdd
38 files changed
+46
-38
No files matched your search
@@ -18,7 +18,7 @@
|
||||
* | โดเมนอื่น (รูป hotlink) | ไม่จัดการ |
|
||||
* | /app/* · /node_modules/* · /@* | ไม่จัดการ (โมดูลของ dev server) |
|
||||
*/
|
||||
const VERSION = "v2.1.1";
|
||||
const VERSION = "v2.1.2";
|
||||
const PAGES_CACHE = `alterflixhub-pages-${VERSION}`;
|
||||
const ASSETS_CACHE = `alterflixhub-assets-${VERSION}`;
|
||||
|
||||
|
||||
Reference in new issue
Block a user