Hey Guys, I’ve enjoyed learning the past couple days about Fuse and see its great potential in prototyping new interactions. I’m now stumped on an issue of using multiple gesture driven navigation elements to navigate pages and scroll views nested within each other.
The UI is essentially 3 lists all nested within each other. The first is vertical, the next horizontal, and the final another vertical list. I’ve gotten the “Forward” navigation working to dive deeper into each list, but can’t get the gesture driven “Back” navigation working.
I’ve tried to attach a video and the UX Markup to as far as I’ve gotten. Being new at this, maybe I’m structuring something completely wrong or have just overlooked something simple. Can anyone point me in a direction to either restructuring to get the same effect or override a child swipegesture to allow it’s parent’s navigation swipegesture to take control again?
<App Theme="Basic">
<iOS.StatusBarConfig Style="Light" IsVisible="false" Animation="Slide"/>
<ClientPanel>
<!--Feed Navigation Level-->
<Panel ux:Name="Feed">
<HierarchicalNavigation ux:Name="postToRepliesNavigation" Easing="CubicInOut" />
<!--List Page-->
<Page ux:Name="List">
<!--List Feed-->
<ScrollView>
<StackPanel>
<Each Count="5">
<Panel Height="375" Color="Green" Margin="0,20,0,0" >
<SwipeNavigate SwipeDirection="Left" VelocityThreshold="100" />
<Text Alignment="Center">Vertical List 1 Items</Text>
</Panel>
</Each>
</StackPanel>
</ScrollView>
<!--Background-->
<Rectangle Color="Gray"/>
<!--Page Animations-->
<EnteringAnimation>
<Move X="-1" RelativeTo="ParentSize" Duration=".5"/>
</EnteringAnimation>
<ExitingAnimation>
<Move X="1" RelativeTo="ParentSize" Duration=".5"/>
</ExitingAnimation>
</Page>
<!--Replies Page-->
<Page ux:Name="Replies">
<!--Reply Navigation Level-->
<PageControl>
<!--Reply 1-->
<Page ux:Name="Reply1">
<!--Comment Navigation Level-->
<Panel>
<LinearNavigation ux:Name="commentNavigation" Easing="CubicInOut" />
<SwipeNavigate SwipeDirection="Up" VelocityThreshold="100" />
<Panel ux:Name="replyContent" Background="Red" >
<Text Alignment="Center">Horizontal List Item 1</Text>
<EnteringAnimation>
<Move Y="-1" RelativeTo="ParentSize"/>
</EnteringAnimation>
<ExitingAnimation>
<Move Y="1" RelativeTo="ParentSize"/>
</ExitingAnimation>
</Panel>
<Panel ux:Name="replyComments" Color="Gray">
<ScrollView AllowedScrollDirections="Vertical" >
<StackPanel>
<Each Count="20">
<Panel ux:Name="comments" Color="Blue" Height="100" Margin="0,0,0,10">
<Text Alignment="Center">Vertical List 2 Items</Text>
</Panel>
</Each>
</StackPanel>
</ScrollView>
<!--Page Animations-->
<EnteringAnimation>
<Move Y="-1" RelativeTo="ParentSize"/>
</EnteringAnimation>
<ExitingAnimation>
<Move Y="1" RelativeTo="ParentSize"/>
</ExitingAnimation>
</Panel>
</Panel>
</Page>
<!--Reply 2-->
<Page ux:Name="Reply2">
<Text Alignment="Center">Horizontal List Item 2</Text>
<Panel Color="Purple"/>
</Page>
<!--Reply 3-->
<Page ux:Name="Reply3">
<Text Alignment="Center">Horizontal List Item 3</Text>
<Panel Color="Green"/>
</Page>
<!--Reply 4-->
<Page ux:Name="Reply4">
<Text Alignment="Center">Horizontal List Item 4</Text>
<Panel Color="Blue"/>
</Page>
</PageControl>
<!--Page Animations-->
<EnteringAnimation>
<Move X="-1" RelativeTo="ParentSize" Duration=".5"/>
</EnteringAnimation>
<ExitingAnimation>
<Move X="1" RelativeTo="ParentSize" Duration=".5"/>
</ExitingAnimation>
</Page>
</Panel>
</ClientPanel>
</App>