diff --git a/app/src/main/java/de/jeanlucmakiola/calendula/ui/edit/EventEditScreen.kt b/app/src/main/java/de/jeanlucmakiola/calendula/ui/edit/EventEditScreen.kt index 16e5162..ae1f1e1 100644 --- a/app/src/main/java/de/jeanlucmakiola/calendula/ui/edit/EventEditScreen.kt +++ b/app/src/main/java/de/jeanlucmakiola/calendula/ui/edit/EventEditScreen.kt @@ -117,6 +117,7 @@ import de.jeanlucmakiola.calendula.domain.RecurringWriteScope import de.jeanlucmakiola.calendula.domain.SimpleRecurrence import de.jeanlucmakiola.calendula.domain.parseSimpleRecurrence import de.jeanlucmakiola.calendula.domain.toRRule +import de.jeanlucmakiola.floret.identity.animateContentSizeMotion import de.jeanlucmakiola.floret.identity.collapseExit import de.jeanlucmakiola.floret.identity.expandEnter import de.jeanlucmakiola.floret.identity.predictiveBack @@ -534,6 +535,9 @@ private fun EventEditContent( enabled = !locked, modifier = Modifier .fillMaxWidth() + // Ease the height change as the title wraps to another line + // instead of letting the accent bar + cards below jump. + .animateContentSizeMotion() .padding(vertical = 4.dp) .focusRequester(titleFocusRequester), ) diff --git a/floret-kit b/floret-kit index cded442..55ad536 160000 --- a/floret-kit +++ b/floret-kit @@ -1 +1 @@ -Subproject commit cded44207c916a9f713ad1f85544d56143590bdf +Subproject commit 55ad536513bb8903a097a2aff96c91aafbec9727