oblador / react-native-collapsible

Animated collapsible component for React Native, good for accordions, toggles etc
MIT License
2.43k stars 453 forks source link

Add fixedHeight prop to prevent text re-layout during animation #363

Closed brettdh closed 3 years ago

brettdh commented 4 years ago

Fixes #362. Also avoids regressing the bug fixed in #197, since the behavior is opt-in via optional prop.

Without fixedHeight With fixedHeight
noFixedHeight fixedHeight
brettdh commented 3 years ago

@ntodd Anything further needed to merge this?

ntodd commented 3 years ago

@brettdh Looks good to me, thanks.

calliday commented 3 years ago

This would be very useful for an app I'm working on, will this be merged soon?