Scanner: close button on valid ticket, camera lifecycle fix #10

Merged
Michilis merged 1 commits from dev into main 2026-02-14 19:04:43 +00:00
Owner
  • Add X close button on valid ticket screen to dismiss without check-in
  • Rewrite QRScanner: full unmount when leaving Scan tab, stop MediaStream tracks
  • Remount scanner via key when tab active; no hidden DOM
  • Use 100dvh for mobile height; force layout reflow after camera start
  • visibilitychange handler for tab suspend/resume

Co-authored-by: Cursor cursoragent@cursor.com

- Add X close button on valid ticket screen to dismiss without check-in - Rewrite QRScanner: full unmount when leaving Scan tab, stop MediaStream tracks - Remount scanner via key when tab active; no hidden DOM - Use 100dvh for mobile height; force layout reflow after camera start - visibilitychange handler for tab suspend/resume Co-authored-by: Cursor <cursoragent@cursor.com>
Michilis added 1 commit 2026-02-14 19:04:37 +00:00
- Add X close button on valid ticket screen to dismiss without check-in
- Rewrite QRScanner: full unmount when leaving Scan tab, stop MediaStream tracks
- Remount scanner via key when tab active; no hidden DOM
- Use 100dvh for mobile height; force layout reflow after camera start
- visibilitychange handler for tab suspend/resume

Co-authored-by: Cursor <cursoragent@cursor.com>
Michilis merged commit 194cbd6ca8 into main 2026-02-14 19:04:43 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Michilis/Spanglish#10
No description provided.