Code Monkey home page Code Monkey logo

Comments (2)

alexdrone avatar alexdrone commented on July 20, 2024

is it just the first time that is not animated?
when views are being added or removed from the hierarchy for the first time - they won't be animated

from render.

jewilhel avatar jewilhel commented on July 20, 2024

No, UILabel's never animates, unlike the other derivatives of UIView, that I tested. UIView, UIImageView, and UIButton animate just fine. I'm not sure what's wrong, I've tried all sorts of layout options, but UILabel's frame never animates even though it updates to the new state just fine.

I can change the node type from UILabel to UIView or UIButton on the same component and it will start animating. There is either something wrong with the UILabel node type or perhaps it's width is being controlled by its content somehow.

So to be clear, I'm expecting the UILabel node to resize when its parent component Card is re-rendered.

from render.

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.