Revert "APP-2974: Avoid composer layout animations"

This reverts commit 2e08b90837.
This commit is contained in:
Eric Bailey
2026-08-31 18:59:01 -05:00
parent 2e08b90837
commit c634d9b1be
+10 -3
View File
@@ -29,6 +29,7 @@ import Animated, {
FadeOut,
interpolateColor,
LayoutAnimationConfig,
LinearTransition,
scrollTo,
useAnimatedRef,
useAnimatedScrollHandler,
@@ -1460,6 +1461,7 @@ export const ComposePost = ({
<Animated.ScrollView
ref={scrollViewRef}
layout={native(LinearTransition)}
onScroll={scrollHandler}
contentContainerStyle={a.flex_grow}
style={[
@@ -1823,7 +1825,9 @@ function ComposerTopBar({
const {t: l} = useLingui()
return (
<Animated.View style={topBarAnimatedStyle}>
<Animated.View
style={topBarAnimatedStyle}
layout={native(LinearTransition)}>
<View
style={[
a.flex_row,
@@ -2596,7 +2600,10 @@ function ErrorBanner({
if (!error) return null
return (
<View style={[a.px_lg, a.pb_sm]}>
<Animated.View
style={[a.px_lg, a.pb_sm]}
entering={FadeIn}
exiting={FadeOut}>
<View
style={[
a.px_md,
@@ -2634,7 +2641,7 @@ function ErrorBanner({
</Text>
)}
</View>
</View>
</Animated.View>
)
}