Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoLayout] Scrolling doesn't work on GridView when inside an AutoLayout #1065

Open
kazo0 opened this issue Mar 6, 2024 · 0 comments
Open
Labels
control/auto-layout kind/bug Something isn't working

Comments

@kazo0
Copy link
Contributor

kazo0 commented Mar 6, 2024

Scrolls:

<!-- Uncomment the AutoLayout to not be able to scroll -->
<!--<utu:AutoLayout>-->
<GridView x:Name="SearchRepeater"
				ItemsSource="{x:Bind Items}">
	<GridView.ItemTemplate>
		<DataTemplate>
			<Grid Background="Gray"
						BorderBrush="Red"
						BorderThickness="1">
				<TextBlock Text="{Binding}"
								 Margin="50"
								 HorizontalAlignment="Center"
								 VerticalAlignment="Center" />
			</Grid>
		</DataTemplate>
	</GridView.ItemTemplate>
</GridView>
<!--</utu:AutoLayout>-->

Doesn't Scroll:

<utu:AutoLayout>
	<GridView x:Name="SearchRepeater"
			  ItemsSource="{x:Bind Items}">
		<GridView.ItemTemplate>
			<DataTemplate>
				<Grid Background="Gray"
					  BorderBrush="Red"
					  BorderThickness="1">
					<TextBlock Text="{Binding}"
							   Margin="50"
							   HorizontalAlignment="Center"
							   VerticalAlignment="Center" />
				</Grid>
			</DataTemplate>
		</GridView.ItemTemplate>
	</GridView>
</utu:AutoLayout>

UnoApp11.zip

@kazo0 kazo0 added kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification. control/auto-layout and removed triage/untriaged Indicates an issue requires triaging or verification. labels Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
control/auto-layout kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant