You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Desktop] ScrollView content visible outside the scroll area. #18299
Working in my last app I noticed that sometimes the content of a ScrollView or part of the content, in this case just the Border, is visible outside the scroll area.
I'm using a FeedView where the NormalTemplate has a GridView inside a ScrollView.
How to reproduce
Download the attached solution and execute the desktop project, then scroll up the content by clicking the small arrow at the bottom of the scrollbar. The card's border is visible outside the scroll area.
In my application it happens scrolling the content using the scrollbar no matter where, in this one, at least in my computer only by clicking the bottom arrow.
@mcNets Can you confirm that you are still able to reproduce the issue 100% of the time with this sample app (by clicking the small down arrow of the scrollbar) even with the latest Uno.Sdk 5.4.5 please? (5.4 migration notes for info)
At the moment @Xiaoy312 is the only one that is able to reproduce the issue, but the repro is a little bit different (by using mouse wheel scroll).
I can't repro at all on my side. It's extremely weird that different ways of scrolling affect the repro differently. The final vertical offset is all that should matter.
@agneszitte / @jeromelaban can we get this prioritised as it's affecting a lot of scenarios where scrolling happens. The workaround seems to be setting a background on the panel where the bleed through is showing but ideally this shouldn't be happening
@nickrandolph We had trouble reproducing this when it was first opened. If you have an alternative repro, please post it as well, maybe it will be more reproducible.
@mcNets Unfortunately, I still can't reproduce. (sidenote: I modified the uno.sdk version to 5.5.0-dev.90 because I already had it restored, but it won't matter.)
2024-10-22.19-53-10.mp4
Could you try setting the SkiaSharpVersion msbuild property to 3.0.0-preview.4.1? I discovered a few Linux-only skia bugs related to clipping a while ago and they were fixed in the skia version used in SkiaSharp 3. Maybe a similar bug is specific to your environment and is also fixed in SkiaSharp3.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.
Activity
mcNets commentedon Sep 26, 2024
Is it because of this?
uno/src/Uno.UI.Composition/Composition/BorderVisual.skia.cs
Lines 173 to 185 in dc04707
agneszitte commentedon Sep 27, 2024
@mcNets Can you confirm that you are still able to reproduce the issue 100% of the time with this sample app (by clicking the small down arrow of the scrollbar) even with the latest Uno.Sdk 5.4.5 please? (5.4 migration notes for info)
At the moment @Xiaoy312 is the only one that is able to reproduce the issue, but the repro is a little bit different (by using mouse wheel scroll).
ramezgerges commentedon Sep 27, 2024
I can't repro at all on my side. It's extremely weird that different ways of scrolling affect the repro differently. The final vertical offset is all that should matter.
mcNets commentedon Sep 28, 2024
@agneszitte yes I can. I updated to 5.4.5 and still happening. In fact in my actual project I'm on
"Uno.Sdk": "5.5.0-dev.62".It disappears when I set
BorderThicknes=0even if there is a CornerRadius > 0.agneszitte commentedon Sep 30, 2024
Thank you a lot for the feedback @mcNets, we will continue to investigate (cc @jeromelaban for info)
nickrandolph commentedon Oct 22, 2024
@agneszitte / @jeromelaban can we get this prioritised as it's affecting a lot of scenarios where scrolling happens. The workaround seems to be setting a background on the panel where the bleed through is showing but ideally this shouldn't be happening
ramezgerges commentedon Oct 22, 2024
@nickrandolph We had trouble reproducing this when it was first opened. If you have an alternative repro, please post it as well, maybe it will be more reproducible.
mcNets commentedon Oct 22, 2024
@nickrandolph @ramezgerges Here another minimum example built with 5.4.10. I used mouse wheel to scroll the content.
UnoScrollArea.mp4
UnoScrollArea.zip
ramezgerges commentedon Oct 22, 2024
@mcNets Unfortunately, I still can't reproduce. (sidenote: I modified the uno.sdk version to 5.5.0-dev.90 because I already had it restored, but it won't matter.)
2024-10-22.19-53-10.mp4
Could you try setting the
SkiaSharpVersionmsbuild property to3.0.0-preview.4.1? I discovered a few Linux-only skia bugs related to clipping a while ago and they were fixed in the skia version used in SkiaSharp 3. Maybe a similar bug is specific to your environment and is also fixed in SkiaSharp3.mcNets commentedon Oct 22, 2024
@ramezgerges 👍
By adding
<SkiaSharpVersion>3.0.0-preview.4.1</SkiaSharpVersion>to the project it works fine with5.4.10and5.5.0-dev.90agneszitte commentedon Nov 5, 2024
@ramezgerges what is left to be done for this issue please?
ramezgerges commentedon Nov 5, 2024
@agneszitte What's left is moving Uno to SkiaSharp 3 :D
github-actions commentedon May 6, 2026
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs or feature requests.