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

When placing image content in a Datagrid, it causes issues with the scroll bar. #16121

Open
IronEaterBeast opened this issue Jun 25, 2024 · 1 comment

Comments

@IronEaterBeast
Copy link

Describe the bug

When you place an image in a row of the Datagrid and all the content exceeds the height of the Datagrid, dragging the vertical scroll bar will cause the content to jump up and down, especially when the row with the image is selected.

To Reproduce

This is the code that show image in Datagrid:

<DataGridTemplateColumn Header="Content" CanUserResize="False" IsReadOnly="True">
	<DataGridTemplateColumn.CellTemplate>
		<DataTemplate>
				<Image Source="{Binding base64ImageString, Mode=OneWay, Converter={StaticResource Base64toBitmap}}"/>
		</DataTemplate>
	</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>

Expected behavior

No response

Avalonia version

11.0.5

OS

Windows

Additional context

No response

@timunie
Copy link
Contributor

timunie commented Jun 29, 2024

  1. Please try 11.1 rc before open an issue
  2. Please file a minimum sample to reproduce

Thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants