Skip to content

[ToDo][iOS] Back button re-navigates to Tasks page #764

Open

Description

@agneszitte

When I nav to the Tasks page and then navigate back with the back button, it keeps re-navigating to the Tasks page:

Simulator Screen Recording - iPhone 15 Pro Max - 2024-06-17 at 15 43 08

Originally posted by @kazo0 in #745 (comment)


The issue is happening for iOS only at the moment and was there before the single project migration

Activity

  1. agneszitte commented on Feb 18, 2025

    @agneszitte
    MemberAuthor

    I am still able to reproduce this issue with latest Uno.Sdk 5.6.30
    The current actual result seems worse than before:

    todo-ios-issue.mp4

    Tested with:

    • Templates/SDK: 5.6.30
    • VS version: VS 2022 (64-bit) - Version 17.13.0
    • VS VSIX: 5.6.26
    • Platform: iOS
    • OS: Windows
  2. kazo0 commented on Feb 19, 2025

    @kazo0
    Contributor

    @agneszitte this behavior for the iOS NavigationBar has been reported before and is currently being looked at by @rajamatt

    This is interestingly the only time I've seen this happen using the Material styles of NavigationBar. The other similar issues were only reproducible using the default style from the base Uno.Toolkit.WinUI library (the "Fluent" one)

    Toolkit issue: unoplatform/uno.toolkit.ui#1332

  3. rajamatt commented on Feb 21, 2025

    @rajamatt
    Contributor

    Just to add that the bug with the back button navigation described in this issue is only in the ToDo app and could be unrelated to #1332 in Toolkit.

    However, it is true that the video provided in Agnes' most recent comment that showcases the navigation bug also contains the #1332 issue (where the Content of the NavBar is duplicated). To this point we were only able to reproduce the issue with the Fluent NavBar so knowing it was also happening with the Material NavBar in this specific app was cause for investigation.

    Mystery solved

    Well, it turns out the NavBar Content is also duplicated with Material in all apps! The peculiarity with the ToDo app is that the Navbar's Background is transparent:

    <utu:NavigationBar Content="Title" Background="Transparent">

    Normally we do not make the NavBar transparent, so we cannot see under it. This means that for both Fluent and Material styled NavBars the Content is being duplicated, we just can't see the duplicated title with Material because it is hidden behind.

    Here you can clearly see the Content is duplicated in a new Material app with a transparent NavBar:

    Image

  4. removed their assignment
    on Aug 6, 2025
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions