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

fix: Ensure NavBar properly displays MainCommand button in all scenarios #534

Merged
merged 1 commit into from
Apr 12, 2023

Conversation

kazo0
Copy link
Contributor

@kazo0 kazo0 commented Apr 5, 2023

related to https://github.com/unoplatform/uno.chefs/issues/128

PR Type

What kind of change does this PR introduce?

  • Bugfix

For cases where the NavBar's MainCommand should still be visible even if the BackStack is empty (such as modal pages where the MainCommand should be visible in order to close the flyout), we should be able to define the MainCommand.Icon and have the button visible in the NavBar like below:
image

We should also now be able to properly display the proper text on the NavBar's MainCommand using its Content or Label property

<MainCommand Label="Return" /> should give:
image

@github-actions
Copy link

github-actions bot commented Apr 5, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-534.eastus2.azurestaticapps.net

@kazo0 kazo0 changed the title fix: Ensure NavBar properly displays Back button in all scenarios fix: Ensure NavBar properly displays MainCommand button in all scenarios Apr 5, 2023
@github-actions
Copy link

github-actions bot commented Apr 11, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-534.eastus2.azurestaticapps.net

@github-actions
Copy link

github-actions bot commented Apr 12, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-534.eastus2.azurestaticapps.net

1 similar comment
@github-actions
Copy link

github-actions bot commented Apr 12, 2023

Azure Static Web Apps: Your stage site is ready! Visit it here: https://polite-field-01aa64f0f-534.eastus2.azurestaticapps.net

@kazo0 kazo0 enabled auto-merge (squash) April 12, 2023 18:49
@kazo0 kazo0 merged commit 36b6b0e into main Apr 12, 2023
@kazo0 kazo0 deleted the dev/sb/ios-nav-bar branch April 12, 2023 19:05
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.

3 participants