[Android] Draw() not called if GraphicsView is child of a ScrollView with Orientation different from Vertical #18416
Labels
area-drawing
Shapes, Borders, Shadows, Graphics, BoxView, custom drawing
platform/android 🤖
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
If you put a
GraphicsView
inside aScrollView
and setOrientation
to a value different from the defaultVertical
, theDraw()
method of theIDrawable
associated seems not to be called.Steps to Reproduce
MainPage.xaml
MainPage.xaml.cs
MyDrawable.cs
Expected behavior
Actual behavior
Link to public reproduction project repository
https://github.com/Riccardo11/MauiIssues/tree/main/GraphicsViewInScrollView
Version with bug
8.0.0-rc.2.9373
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 13. Didn't test other Android versions.
Did you find any workaround?
Setting GraphicsView
WidthRequest
to a value.Relevant log output
No response
The text was updated successfully, but these errors were encountered: