This commit is contained in:
2021-11-02 23:48:35 +01:00
parent e202b7a160
commit 8a9ebe2816
14 changed files with 54 additions and 34 deletions

View File

@@ -48,9 +48,10 @@ export default React.memo((props) => {
const [modalListVisible, setModalListVisible] = useState(false);
const HandleAnimation = (event) => {
const height = event.nativeEvent.layout.height
LayoutAnimation.configureNext(LayoutAnimation.create(200, 'easeInEaseOut', 'opacity'))
setHeight(event.nativeEvent.layout.height)
// console.log("height changed: ", event.nativeEvent.layout.height)
setHeight(height)
// console.log(height)
}
const removeList = () => {