flexbox-layout v2.0.1 Release Notes

Release Date: 2020-01-17 // over 4 years ago
  • ๐Ÿ› Bug fix release

    • Flexline width exceeds container width (#521)
    • Take CompoundButtons drawables min size into account during measurements (#528)

Previous changes from v2.0.0

  • ๐ŸŽ Performance improvements by avoiding child views are measured more than twice #46

    ๐ŸŽ The version 2.0.0 improves the performance significantly especially FlexboxLayout is deeply nested.
    As described in #514, there were unnecessary measure calls even if any Flexitems in a FlexLine didn't have any flexGrow or flexShrink attributes set.
    0๏ธโƒฃ Similarly, the default values for alignItems and alignContent for FlexboxLayout has changed from stretch to flex_start starting from 2.0.0 because setting stretch for alignItems turned out to be expensive. Setting the default value as stretch might increase the unnecessary measure calls.

    ๐Ÿš€ This is a major version release because the change may break the existing apps.