Coder Social home page Coder Social logo

Comments (5)

perclasson avatar perclasson commented on May 25, 2024

Possibly related to flutter/flutter#51234

from material-components-flutter-gallery.

perclasson avatar perclasson commented on May 25, 2024

cc @mariamhas @ferhatb:
Do you have any more details on this? I am not finding an issue exactly related to this on flutter/flutter.

It seems as if letter spacing works fine (see dartpad). But do you mean there is a performance drop in using it? Is there also a performance hit in using TextOverflow.ellipsis as the ticket mentions ellipses?

Edit: From flutter/flutter#51234 I'll just assume that we only want to have letterSpacing set to 0.0 for Flutter for Web and refer to that issue inside of the code to update this in the future. Please let me know if that is not the case.

from material-components-flutter-gallery.

perclasson avatar perclasson commented on May 25, 2024

cc @mdebbar

from material-components-flutter-gallery.

mdebbar avatar mdebbar commented on May 25, 2024

There is a known performance regression when rendering paragraphs that have letter spacing > 0. I'll work on fixing this regression. In the meantime, if the performance is too bad because of it, you can set letter spacing to zero when kIsWeb is true. This isn't related to ellipsis.

from material-components-flutter-gallery.

perclasson avatar perclasson commented on May 25, 2024

Thank you, that makes sense.

from material-components-flutter-gallery.

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.