This is an alternative approach to https://github.com/aragon/aragon-ui/pull/810 without relying on spring to handle auto. This is superior in some ways because values always remain accurate and up to date, transitions are also preserved when reordering.
Only drawback is that the height of the expansion it remeasured more often than is needed (while it's open) but without changing the api we have no reliable and unique information to use as dependencies other than the content nodes (which could arguably be more expensive and more complex to compare)
This is an alternative approach to https://github.com/aragon/aragon-ui/pull/810 without relying on spring to handle auto. This is superior in some ways because values always remain accurate and up to date, transitions are also preserved when reordering.
Only drawback is that the height of the expansion it remeasured more often than is needed (while it's open) but without changing the api we have no reliable and unique information to use as dependencies other than the content nodes (which could arguably be more expensive and more complex to compare)