taublast / DrawnUi.Maui

UI Rendering Engine for .NET MAUI powered by SkiaSharp
MIT License
206 stars 15 forks source link

SkiaScroll inside an auto-sized Canvas jumps from the wrong border #7

Closed taublast closed 4 months ago

taublast commented 7 months ago

If a Canvas has VerticalOptions set to Fill all is fine, in case of VerticalOptions = "Start" (auto-sized) the following weird behavior is seen:

https://github.com/taublast/DrawnUi.Maui/assets/25801194/132fa119-c706-46d0-beaa-aebc2dd8ff4e

When scroll is at the bottom border the viewport suddenly bounces when scrolling back to top. This was watched only on iOS real device.

The current workaround is to set VerticalOptions = "Fill" for Canvas.

taublast commented 6 months ago

Might be fixed already but still need confirmation by testing on ios..

taublast commented 4 months ago

Finally catched and fixed by commit 90854b2be8d3f0a96deca7e41dd877d20555c616