flexn-io / create

Build apps for web, TVs, desktops, consoles, wearables and more. Developer friendly UI library targeting all form factors platforms. Another notable feature is providing focus management for TVs which very easy to implement using Create.
https://create.flexn.org
MIT License
26 stars 6 forks source link

Fix elements measuring after animations #150

Closed aurimasmi closed 10 months ago

aurimasmi commented 10 months ago

In some occasions an example when component is being animated using translate properly on layout is not called. For that reason focus manager can't measure element position if it's changed.

Added animations abstractions in order to capture end of animation moment and remeasure elements.