Open eksperts opened 7 years ago
Reported on community.
fuse version 1.3.0
Mac OS High Sierra
I expect to display items according to the array order.
items are displayed in reverse order.
The cause is the use of the NodeGroup that for some reason reverses the order at the time of the rendering within a loop Each.
NodeGroup
<App> <JavaScript> var Observable= require("FuseJS/Observable"); var items = Observable(1,2,3,4,5,6,7,8,9,10); module.exports ={items:items} </JavaScript> <StackPanel> <Each Items="{items}"> <NodeGroup> <Text>Element:</Text> <Text>{}</Text> </NodeGroup> </Each> </StackPanel> </App>
Reported on community.
Fuse Version
fuse version 1.3.0
OS
Mac OS High Sierra
What do I expect?
I expect to display items according to the array order.
What happens instead?
items are displayed in reverse order.
What is the cause?
The cause is the use of the
NodeGroup
that for some reason reverses the order at the time of the rendering within a loop Each.Reproduce the issue