Update styles for mobile scanning interface and enhance user guidance. Adjust button dimensions and positioning for better visibility. Improve hint messages for scanning instructions and update version code to 4.72.789, aligning with MSIN-4401 requirements for enhanced event management functionality.

This commit is contained in:
2026-07-13 13:38:20 -04:00
parent 397eb4651b
commit 8a9369bbaf
4 changed files with 47 additions and 24 deletions

View File

@ -750,6 +750,12 @@
self.toggleBtn.setAttribute('aria-expanded', 'true');
self.toggleBtn.classList.add('is-active');
}
// MSIN-4401 — Amener le viseur au centre du viewport (mobile).
try {
self.panel.scrollIntoView({behavior: 'smooth', block: 'center', inline: 'nearest'});
} catch (eScroll) {
self.panel.scrollIntoView(true);
}
self.setStatus(scanMsg(self.panel, 'data-msg-loading', 'Initialisation (1re fois)...', 'Initializing (first time)...'), true);
var cameraPromise = navigator.mediaDevices.getUserMedia({