This might be related to this issue outlined here https://www.fusetools.com/community/forums/bug_reports/goback_and_goforward_does_not_have_a_property_call?page=1&highlight=1aac5512-54da-446f-9f2d-e44b15db8033#post-1aac5512-54da-446f-9f2d-e44b15db8033
System Details
Fuse version 0.9.11 (build 5893)
Windows 10
Issue: When setting the property TargetNode
on GoBack
and GoForward
with LinearNavigation
an error is thrown and does not allow communication to happen with the targeted navigation context. For example:
The node '_resourcesNav' can not be used here: The type must be compatible with 'Fuse.Node'
Expected outcome When setting the property TargetNode
on GoBack
and GoForward
with LinearNavigation
no error should be thrown and should communitcate with the targeted navigation context.
Below is sample code which will recreate the issue. I have not tested with other Navigation types.
<App Theme="Basic" Background="#eeeeeeff">
<DockPanel>
<Panel>
<LinearNavigation ux:Name="_resourcesNav" />
<SwipeNavigate SwipeDirection="Left" SwipeEnds="Short" />
<Each Count="4">
<Panel Color="#fff0">
<EnteringAnimation>
<Move X="-1" RelativeTo="ParentSize" Duration="0.5"/>
</EnteringAnimation>
<ExitingAnimation>
<Move X="1" RelativeTo="ParentSize" Duration="0.5"/>
</ExitingAnimation>
<Text Value="Panel" TextAlignment="Center" Alignment="Center" />
</Panel>
</Each>
</Panel>
<Circle Width="60" Height="60" Color="#c9cad4" Dock="Left">
<Text Value="Left" Alignment="Center" />
<Clicked>
<GoBack TargetNode="_resourcesNav" />
</Clicked>
</Circle>
<Circle Width="60" Height="60" Color="#c9cad4" Dock="Right">
<Text Value="Right" Alignment="Center" />
<Clicked>
<GoForward TargetNode="_resourcesNav" />
</Clicked>
</Circle>
</DockPanel>
</App>