Dynamic app bar: Panorama sliding animation is broken when navigating to a panorama item without appbar

Feb 8, 2013 at 1:02 PM
Edited Feb 8, 2013 at 1:17 PM
I have 3 pano items, only 1st one has app bar.
When swiping to the 2nd pano item, the usual smooth sliding animation is gone.
Here's the code:

                    <appBarUtils:SelectionMapping SourceIndex="0"
                                                  TargetIndex="0" />
                    <appBarUtils:AppBar Id="0">
                        <appBarUtils:AppBarButton  IconUri="/Assets/AppBar/new.png"
                                                   Text="report issue"
                                                   Command="{Binding IssueList.ReportIssueCommand}" />
                        <appBarUtils:AppBarButton Text="filter"
                                                  Command="{Binding IssueList.FilterIssuesCommand}"
                                                  IconUri="/Assets/AppBar/filter.png" />

UPDATE: I see that this is not a problem because of the library itself.

If on Panorama.SelectionChanged you call this.ApplicationBar.IsVisible = false when Panorama.SelectedIndex is 1 for example, the animation is broken
I wonder if it the library can provide a support for this. If you look to the built-in Office app, the animation is not broken when navigation trough the pages
May 22, 2013 at 3:48 PM
Hi there,

I also noticed this issue sometimes. But I'm not sure why. If you know the cause or you have a fix, please do tell me, and I'll apply it to the code.