constraintlayout icon indicating copy to clipboard operation
constraintlayout copied to clipboard

[Compose MotionLayout] Custom color not properly initialized sometimes

Open oscar-ad opened this issue 3 years ago • 0 comments

Ex: ConstraintSets: { collapsed: { fab: { width: 50, height: 50, centerHorizontally: 'parent', bottom: ['parent', 'bottom', 8], custom: { background: '#6200EE' } }, }, expanded: { fab: { width: 'spread', height: 400, start: ['parent', 'start', 8], end: ['parent', 'end', 8], bottom: ['parent', 'bottom', 8], top: ['parent', 'top', 8], custom: { background: '#ffffff' } }, } }

Issue might be that the state is not set before the first Composition is done.

oscar-ad avatar Oct 12 '21 18:10 oscar-ad