BackButtonBehavior not working properly after updating from 1.0.8 to 1.1.11
I've been using BackButtonBehavior to go to a different visual state, but after updating to 1.1.11 it's not working any longer.
So basically what happens is that when I click a listitem, it goes to DetailVisualState, In that state a button in the AppBar is enabled, called AppBarBackButton. BackButtonBehavior is bound to IsEnabled of AppBarBackButton. Pressing the AppBar button works fine, but when pressing backbutton nothing happens.
<Behaviors:BackButtonBehavior Handled="{Binding IsEnabled, ElementName=AppBarBackButton}">
<Core:GoToStateAction StateName="ListVisualState" /> </Behaviors:BackButtonBehavior>
The issue seems to be isolated to GoToStateAction. I can still call a method with CallMethodAction.
Ok, So I guess something changed in GoToStateAction, when I added TargetObject it's working fine: TargetObject="{Binding ElementName=ThisPage, Mode=OneWay}"