Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[iOS][NavigationBar] Main Command not navigating back when style is applied #1272

Closed
2 of 17 tasks
Asfiroth opened this issue Nov 2, 2024 · 0 comments · Fixed by #1275
Closed
2 of 17 tasks

[iOS][NavigationBar] Main Command not navigating back when style is applied #1272

Asfiroth opened this issue Nov 2, 2024 · 0 comments · Fixed by #1275
Assignees
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.

Comments

@Asfiroth
Copy link
Contributor

Asfiroth commented Nov 2, 2024

Current behavior

MainCommand does not perform default back action when setting a global style, no error is shown it just doesn't perform any action. When removing the style, behaves as expected.

Expected behavior

Main Command should navigte back when backstack is not empty even if a style is set.

How to reproduce it (as minimally and precisely as possible)

  1. Create a new Uno Platform application with this features:
  • Material;
  • Hosting;
  • Toolkit;
  • Logging;
  • MVUX;
  • Configuration;
  • Http;
  • Serialization;
  • Localization;
  • Navigation;
  • ThemeService;
  1. Create an style for main command AppBarButton
  2. Set a global default style for NavigationBar control and set Style for MainCommand
  3. Run Application and navigate to second page
  4. Press back button (Main Command) see that nothing happens.

NavigationTestApp.zip

Nuget Package and Package Version(s):

Uno.Sdk : 5.5.32
Uno.Toolkit.WinUI: 6.3.5

Affected platform(s):

  • WebAssembly
  • Android
  • iOS
  • macOS (AppKit)
  • Mac Catalyst
  • Skia
    • WPF
    • GTK (Linux)
    • Linux Framebuffer
    • Tizen
  • Windows

IDE:

  • Visual Studio 2022
  • Visual Studio 2019
  • Visual Studio Code
  • Visual Studio for Mac
  • Rider Windows
  • Rider macOS

Relevant plugins:

  • Uno Platform plugin

Anything else we need to know?

@Asfiroth Asfiroth added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. labels Nov 2, 2024
@Kunal22shah Kunal22shah self-assigned this Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants