Change widget height in horizontal scrollview

Asked

Viewed 64 times

1

How do I make a horizontal Scrollview resize the height based on the active card?

The problem occurs when a list is 600px high (for example) and another list is 300px high. The expected height of Scrollview resizes. If not clear, an example image:

inserir a descrição da imagem aqui

I tried to use Animated, Flatlist, Gesture Handler and nothing solved.

Gif showing the problem:

Gif mostrando o problema

How to do this effect?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.