This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] [UWP] LayoutChildren method is not called in custom control after upgrade Xamarin.Forms 5.0 #13492
Labels
5.0.0
Regression on 5.0.0
i/regression
in-progress
This issue has an associated pull request that may resolve it!
t/bug 🐛
Milestone
Description
I have created a custom control which is extended from ContentView in Xamarin.Forms. I have layout the Content for some scenario using LayoutChildren override method in Forms. This is working fine up to XF version 4.8. After upgrade to Xamarin.Forms 5.0, this LayouChildren override method is not called and Content also not displayed. I suspect that in Xamarin.Forms 5.0, layout process is not performed for Content.
Note: If i add the same custom control within Grid, custom control's Content is displayed.
Native control
Renderer class
Steps to Reproduce
Expected Behavior
Content (Button) should be displayed
Actual Behavior
Display with blank page.
Basic Information
Reproduction Link
Sample link with custom control: https://github.com/bharathirajauk/MySamples/blob/master/CustomControl_XF5.0.zip?raw=true
The text was updated successfully, but these errors were encountered: