Repository navigation
fix(pwa): N23 — ❓ on pre-login screens with a top bar can be tapped again - #192
Merged
Merged
Conversation
…gain Register, Forgot PIN, Verify e-mail and Set new PIN floated the ❓ (zIndex 30) under their sticky transparent top bar (zIndex 40), so every tap hit the bar. The ❓ now sits inside the bar in place of the empty 40px spacer, level with Back. Welcome and Login (no bar) keep the floating ❓. Guards against the same regression: - help-button-placement.test reads every screen's source: a floating ❓ is only allowed on a screen with no sticky bar / Back / Toolbar, and a screen with a bar must not float it (jsdom has no layout, so a render test alone can't see the overlap). - Each of the four screens' tests checks the ❓ shares the bar with Back, isn't absolutely positioned, and opens /help/topic?screen=<key>. Checked in headless Chrome at 390px: before, elementFromPoint at the ❓'s centre was the sticky bar on Production; after, it is the ❓ on all six pre-login screens. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
satishbagali
enabled auto-merge
December 5, 2026 01:35
satishbagali
approved these changes
Dec 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes N23 (Help button covered). PWA only, backend unchanged.
Cause
position: absolute; zIndex: 30.zIndex: 40covering the same spot, so every tap landed on the bar.1eb3411).Fix
floatingprop is now documented as "only for a screen with no top bar".Guards against the same regression
help-button-placement.test.tsreads the source of every screen that has a ❓:<Toolbar>./help/topic?screen=<key>.Checked in a real browser (headless Chrome, 390px)
elementFromPoint.The gate passes on Node 20: lint, lint:promises, typecheck, format:check, i18n:check and test:coverage.
After the Production deploy, please tell the backend owner so the reporting user can be informed.
🤖 Generated with Claude Code