Using BoxSizing="FillAspect"
on the images inside the PageControl in the following UX, causes a scrolling problem for the ScrollView (I took off the BoxSizing=“FillAspect” and it works perfectly, so that’s the cause)
Here’s the ux:
<App Theme="Basic" Background="#DDD">
<JavaScript File="MainView.js" />
<DockPanel>
<ScrollView ux:Name="feed">
<StackPanel Alignment="TopCenter">
<Each Items="{feed}">
<StackPanel Background="#fff" Margin="15,4">
<DropShadow Distance="8" />
<Text Alignment="Center" Value="Name" Padding="0,5" FontSize="30" TextAlignment="Center" TextWrapping="Wrap" />
<Text Alignment="Center" Padding="0,5" FontSize="20" TextColor="#333" TextAlignment="Center" TextWrapping="Wrap" Value="Lorem ipsum dolor sit amet, consectetur adipisicing elit. Deserunt, illo!" />
<PageControl ClipToBounds="true" Margin="8">
<DropShadow Distance="8" />
<Image File="Assets/background1.png" BoxSizing="FillAspect" StretchMode="Fill" Margin="5,0" />
<Image File="Assets/background2.png" BoxSizing="FillAspect" StretchMode="Fill" Margin="5,0" />
<Image File="Assets/background3.png" BoxSizing="FillAspect" StretchMode="Fill" Margin="5,0" />
</PageControl>
</StackPanel>
</Each>
</StackPanel>
</ScrollView>
</DockPanel>
</App>
The simple JS:
var Observable = require("FuseJS/Observable");
var feed = Observable({}, {});
module.exports = { feed: feed }
The GIF showing the problem: