Skip to content

Releases: DioxusLabs/taffy

v0.7.6

20 Feb 11:07
Compare
Choose a tag to compare

Fixed

  • Fix infinite loop due to float precision in grid layout maximise tracks step (#792)

v0.7.5

10 Jan 08:53
Compare
Choose a tag to compare

Fixed

  • Grid: only stretch auto tracks if content-alignment is stretch (#783)

v0.7.4

09 Jan 10:19
Compare
Choose a tag to compare

Fixed

  • Fix detailed grid info for empty grid (#782)

v0.7.3

06 Jan 10:52
9978ebc
Compare
Choose a tag to compare

Fixed

  • Make TaffyTree::detailed_layout_info take &self rather than &mut self (#779)

v0.7.2

03 Jan 09:13
6bd7bc1
Compare
Choose a tag to compare

Added

  • The ability to access computed track sizes and item positions of a CSS Grid layout (#772).
    This information can be accessed using the LayoutGridContainer::set_detailed_grid_info method
    in the low-level API or the TaffyTree::detailed_layout_info method in the high-level API.

v0.7.1

24 Dec 00:59
b5a5f80
Compare
Choose a tag to compare

Fixed

  • Improve interaction of abspos children of block containers with margin collapsing (#760)

Added

  • Add TaffyTree::unrounded_layout getter (#765)

Removed

  • The num-traits dependency was removed (#761) (#762)

v0.7.0

12 Dec 04:54
b765cb5
Compare
Choose a tag to compare

Changed

  • BREAKING: The cache_mut method on the LayoutPartialTree trait has been replaced with a separate CacheTree trait. This allows
    Taffy to be more easily used without caching or with a custom cache implementation.
  • BREAKING: the TaffyTree::set_children method now removes the children from their previous parent (if they have one).

Added

  • Helper methods to retrieve content-box sizes were added to Layout

v0.6.3

09 Dec 01:11
cf4f766
Compare
Choose a tag to compare

###Fixes

  • Block: ignore margin collapsing when computing static position of abspos items (#747)

v0.6.2

16 Nov 09:48
0cba8ab
Compare
Choose a tag to compare

Fixes

  • Fix: clamp indefinite available space by min- and max- size as appropriate (#742)

v0.6.1

22 Oct 08:43
fae17c2
Compare
Choose a tag to compare

Fixes

  • Fix calculation of auto-fill/auto-fit repetition count when container has a definite percentage size (#722)
  • Fix min-size style not affecting intrinsic sizes (#723)
  • Fix documentation of dirty and mark_dirty functions (#724)
  • Fix intrinsic size of scroll containers that have a small explicit flex-basis (#728)