Skip to content

Setting BackButtonBehavior to not visible or not enabled does not work #28570

@Sebastian1989101

Description

@Sebastian1989101

Description

I'm using this in my app shell:

    <Shell.BackButtonBehavior>
        <BackButtonBehavior IsVisible="False" IsEnabled="False" />
    </Shell.BackButtonBehavior>

However, the back button in the toolbar is still presented so this is fully ignored. Was testing this because I original wanted the FlyoutIcon and Back Button display at the same time, however just displaying the FlyoutIcon would be better then having that replaced. Well seems like not even removing the Back Button does work...

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.50 SR5

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android (tested) but probably iOS is affected as well

Did you find any workaround?

No.

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-shellShell Navigation, Routes, Tabs, Flyoutarea-navigationNavigationPages/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions