Skip to content

Back navigation using TopLevel.BackRequested does not work when a SplitView in Overlay mode is involvedΒ #21740

Closed

Description

@gentledepp

Describe the bug

When having a UI with a splitview and it is configured in overlay mode (e.g. mobile phone narrow screens), navigating back using the system back button (e.g. Android back button or navigate back gesture) does not work:
Nothing happens.

This is due to the fact that SplitView "steals" the event even if its Pane is not open!
PR will follow shortly!!

To Reproduce

Open a page containing a splitview configured in overlay mode on your mobile (e.g. android phone)
Try navigating back using the back gesture or back button - done

Expected behavior

Back navigation should work.
If the pane is open (in overlay mode) the pane should close
Otherwise the SplitView should ignore the event and not set "Handled=true"

Avalonia version

12.0.5 and 11.x

OS

No response

Additional context

No response

Activity

  1. added a commit that references this issue on Jul 9, 2026
  2. added a commit that references this issue on Jul 10, 2026
  3. added a commit that references this issue on Jul 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions