Navigating to a Page with a ScrollView logs Error in Console

ClayZuvichClayZuvich USMember ✭✭✭

I'm seeing the following in my console when I navigate to a page with a ScrollView on Android.

[View] requestLayout() improperly called by md5b60ffeb829f638581ab2bb9b1a7f4f3f.ScrollViewContainer{c78e7e4 V.E...... ......ID 0,0-1080,1547} during layout: running second layout pass
[View] requestLayout() improperly called by md5270abb39e60627f0f200893b490a1ade.NavigationPageRenderer{b4dada1 V.E......

I submitted the bug on bugzilla. Anyone else seeing it? Xamarin Forms 2.3.4


  • Luis_dmLuis_dm USMember ✭✭✭

    show your xml

  • JasonBrownJasonBrown GBUniversity ✭✭

    Yes, I'm getting it as well. I've not investigated what's causing it yet, but I'll update the Bugzilla. It doesn't seem to be a benign error as it messes up the data in some controls on my grid.

  • ClayZuvichClayZuvich USMember ✭✭✭

    @LuisRodriguez92 It's just a page with a ScrollView. The bug has been confirmed.
    @JasonBrown Thanks for the feedback! And definitely let us know if you find a workaround.

  • JasonBrownJasonBrown GBUniversity ✭✭

    I've added CachingStrategy="RecycleElement" to my ListView and this seems to have fixed the problem for me (although I was more interested in fixing the messed up controls rather than this message, so the message may still be there - I've been lazy and didn't check :-|).

  • JasonBrownJasonBrown GBUniversity ✭✭

    ...I've just checked and sadly it doesn't stop the error - sorry :-(

    ...but it does stop the controls messing up on my implementation, so it's not all bad!

  • Angelru9Angelru9 ESMember ✭✭✭

    I have the same issue, any solution? I am using XF 3.6

Sign In or Register to comment.