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

Blank space appears when scrolling up in ListView with variable sized elements #576

Open
mikegoatly opened this issue Jun 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mikegoatly
Copy link

Describe the bug

When a ListBox contains variable height elements, a blank space appears before the first element when scrolling up:

image

When the scrollbar eventually reaches the top, the list items jump up and end up in the correct position.

I've put a simple repro together here.

Screenshots
With FluentAvalonia theme, a gap appears between the first element and the List:

FluentAvalonia.mp4

With default Avalonia Fluent theme this doesn't happen:

Avalonia.Default.Fluent.mp4

Desktop/Platform (please complete the following information):

  • OS: Windows 11
  • FluentAvalonia Version: Tested with 2.0.5 and 2.1.0-preview5
  • Avalonia Version: Tested with 11.0.10 and 11.1.0-beta2
@mikegoatly mikegoatly added the bug Something isn't working label Jun 3, 2024
@sajjadafzal
Copy link

I am also facing the same issue while default Avalonia Fluent theme works fine while scrolling ListBox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants