Skip to content

fix(nav): disable bottom nav while a mobile modal dialog is open#10

Merged
keyldev merged 1 commit into
mainfrom
fix/disable-nav-while-modal-open
Jun 6, 2026
Merged

fix(nav): disable bottom nav while a mobile modal dialog is open#10
keyldev merged 1 commit into
mainfrom
fix/disable-nav-while-modal-open

Conversation

@keyldev
Copy link
Copy Markdown
Collaborator

@keyldev keyldev commented Jun 6, 2026

Summary

Fixing Issue #5

  • overlay dialogs live in OverlayLayer; the dim layer doesn't swallow nav taps, so navigation switched CurrentPage under the open dialog
  • OverlayDialogPresenter now tracks open overlays (IsAnyOpen + ActiveChanged)
  • gate NavigateCommand on CanNavigate; nav buttons grey out until the dialog closes
  • desktop is unaffected (real modal ShowDialog windows)

Related

Type

  • Bug fix
  • Feature
  • Refactor / cleanup
  • Docs / CI
  • Other:

Checklist

  • Builds with 0 warnings (TreatWarningsAsErrors=true).
  • Tests pass (dotnet test); new Core logic has unit tests.
  • No layering violation — App references Core only (Infrastructure / Video / Devices wired via DI in a head).
  • Scope stays within one phase (didn't pull work from a later phase's "Не входит").
  • README / docs updated if public commands, options, or setup changed.

Platforms tested

  • Windows
  • Linux
  • macOS
  • Android
  • iOS
  • CI build only

Screenshots / notes

- overlay dialogs live in OverlayLayer; the dim layer doesn't swallow nav taps,
  so navigation switched CurrentPage under the open dialog
- OverlayDialogPresenter now tracks open overlays (IsAnyOpen + ActiveChanged)
- gate NavigateCommand on CanNavigate; nav buttons grey out until the dialog closes
- desktop is unaffected (real modal ShowDialog windows)
@keyldev keyldev merged commit 2799e23 into main Jun 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant