Files
galaxy-game/ui/frontend/src
Ilia Denisov 35e27c5aec
Tests · UI / test (push) Has been cancelled
Tests · UI / test (pull_request) Failing after 2m53s
fix(ui): bottom-sheet tap-outside only fires while the sheet is shown
The planet/ship-group sheets stay mounted on desktop but are hidden by a
media query (`display: none`); the document-level tap-outside listener
fired regardless, so the first click after selecting a planet cleared the
selection — breaking every desktop inspector/select flow in CI. Guard the
handler on the sheet's computed display (`offsetParent` is unreliable for
`position: fixed`). The swipe handle is naturally inert when hidden.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 13:45:41 +02:00
..
2026-05-07 07:18:55 +02:00