fix(wizard): don't animate silent ?aanvraag stamp — Firefox double-click on Next
The inschrijven/herregistratie wizards needed two clicks on "Volgende" to advance in Firefox (and Zen). Root cause: picking a field (e.g. correspondentie) triggers draft-sync's debounced create, which router.navigate()s to stamp ?aanvraag=<id> into the URL. withViewTransitions() animated that same-route navigation, and for the transition's duration Firefox's ::view-transition overlay swallows pointer events (confirmed: elementFromPoint over the button returns the overlay, not the button). Chrome sets pointer-events:none on the overlay so clicks pass through — hence Firefox-only. Fix: skip the view transition for same-route navigations (compare leaf routeConfig) so the silent id-stamp doesn't animate; genuine page-to-page transitions still fade. Verified in Firefox: page navs still animate (skipped:0), the ?aanvraag stamp is skipped, and Post → single Next advances step 1 → 2. GREEN + a11y. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
3740
documentation.json
3740
documentation.json
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user