fix(modal): enable smooth desktop vertical scrolling on camera detail modal (v19)

This commit is contained in:
2026-09-12 11:23:19 -07:00
parent 2785782f7d
commit 5da020d563
4 changed files with 66 additions and 27 deletions
+3
View File
@@ -1625,6 +1625,8 @@
window.history.replaceState({}, document.title, window.location.pathname);
} else if (urlParams.get('modal') === 'support' || window.location.hash === '#support') {
setTimeout(openSupportModal, 300);
} else if (urlParams.get('cam')) {
setTimeout(() => openCameraHardwareProof(urlParams.get('cam')), 350);
}
}
@@ -1902,6 +1904,7 @@
// Show modal
if (el.cameraDetailModal) {
el.cameraDetailModal.scrollTop = 0;
if (typeof el.cameraDetailModal.showModal === 'function') {
el.cameraDetailModal.showModal();
} else {