TJ @tunji.dev · Nov 12

The new animateBounds modifier in Compose 1.8 is one of those new APIs with huge ripple effects. Being able to arbitrarily animate the size and position of any composable is mind blowing. Below I have a resizable grid that shuffles on click. Look at items animate to their shuffled locations!

18 likes 2 replies

?

Replies

@pablusconi.bsky.social · Nov 12

Mind blowing right 😮

TJ · Nov 12

The above was just a stress test for something I've been playing around with with navigation! I saw @riggaroo.bsky.social post about using animateBounds with FlowLayouts and wanted to apply it to my NavHost to animate up to 3 panes entering or leaving depending on screen size or navigation state: