Open nk-alex opened 1 month ago
Hi I'm an AI powered bot that finds similar issues based off the issue title.
Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!
Note: You can give me feedback by thumbs upping or thumbs downing this comment.
@nk-alex Could you provide us with a sample project so we can investigate it further? Looking forward to your reply!
Description
Maybe related to #12560. I'm transitioning my Xamarin.Forms custom view to maui when I encontered this problem.
Here is how my custom view renderer used to look back in Xamarin.Forms:
This is how is looking on MAUI:
OnDrawEvent is called, Invalidate() is called as well, but OnDraw never gets called. Am I doing something wrong?
Steps to Reproduce
Create a custom view
public class CustomView : View
Create a custom renderer and try to Invalidate() in order to get OnDraw executed
Link to public reproduction project repository
No response
Version with bug
8.0.71 SR7.1
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 28.0
Did you find any workaround?
No response
Relevant log output
No response