dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.05k stars 1.73k forks source link

[Windows] When ScrollView moves the scrollbar, the content is incomplete #20719

Open 18381898547 opened 7 months ago

18381898547 commented 7 months ago

Description

111

  1. When ScrollView moves the scrollbar, the content is incomplete
  2. When the scrollbar is displayed, it will squeeze my other layouts
  3. This problem does not exist in Mac system
  4. Reproduce version .net 8.0

code:

drasticactions commented 7 months ago

Can you please turn this into a full example? If I use ScrollView directly within the view then I believe your layout renders correctly, so my guess is this is related to you using Absolute and FlexLayout.

ghost commented 7 months ago

Hi @18381898547. We have added the "s/needs-repro" label to this issue, which indicates that we require steps and sample code to reproduce the issue before we can take further action. Please try to create a minimal sample project/solution or code samples which reproduce the issue, ideally as a GitHub repo that we can clone. See more details about creating repros here: https://github.com/dotnet/maui/blob/main/.github/repro.md

This issue will be closed automatically in 7 days if we do not hear back from you by then - please feel free to re-open it if you come back to this issue after that time.

18381898547 commented 7 months ago

Hi, I have uploaded the reproducible demo demo: https://github.com/18381898547/Demo.git

jaosnz-rep commented 6 months ago

Verified this issue with Visual Studio 17.10.0 Preview 2(8.0.10). it can be reproduced on Windows platform using the code in the picture. image