Giter VIP home page Giter VIP logo

Comments (1)

LakshmiNatarajan21 avatar LakshmiNatarajan21 commented on May 20, 2024

Hi @lynx-ralph ,

#Regarding requestLayout() called improperly for LabelRenderer

The reported issue in the framework level itself and we have logged the issue report to Xamarin team for the same,

Bug report: xamarin/XamarinCommunityToolkit#573

Kindly refer to the above bug report for further updates.

Meanwhile, this issue occurs due to the animation on Expander content. As of now, we suggest you to use the Expander without animation. Please find the following code snippets to overcome the issue,

<expander:SfExpander AnimationDuration="0" AnimationEasing="None">
    <expander:SfExpander.Header>
        <Grid Padding="10,0,0,0" HeightRequest="70">
            ...
        </Grid>
    </expander:SfExpander.Header>
    <expander:SfExpander.Content>
        <Grid HeightRequest="100" >
         ...
        </Grid>
    </expander:SfExpander.Content>
</expander:SfExpander>

#Regarding requestLayout() improperly called by android.widget.TextView

We regret to inform you that the reported issue occurs due to measuring the Expander icon with the same width. If we measure the Expander icon only when width and height differ then the Expander icon is not rendered in the use cases like loading the expander inside the ListView since, the ListView reuses the items we need to remeasure the expander. Hence, we suggest you to use the custom HeaderIcon to overcome the reported scenario.

Please refer to the following documentation to use custom icons in Expander from the following links,
KB links:
https://www.syncfusion.com/kb/11378/how-to-customize-header-icon-in-xamarin-forms-expander-sfexpander
https://www.syncfusion.com/kb/11469/how-to-use-a-custom-font-icon-for-expander-in-xamarin-forms-sfexpander

from essential-ui-kit-for-xamarin.forms.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.