Also adds restriction so that only one element can be edited at a time (this makes it easier to handle the original problem).
The tricky thing was getting a parent collection to know when one of its children is being edited (so it can change its auto-height logic). So I've added the currently-editing element to a global state provider (it already tracks "Collapse" state).
Fix #57
Also adds restriction so that only one element can be edited at a time (this makes it easier to handle the original problem).
The tricky thing was getting a parent collection to know when one of its children is being edited (so it can change its auto-height logic). So I've added the currently-editing element to a global state provider (it already tracks "Collapse" state).