FlatList - Keep the ScrollView Content Position at same place?

我只是一个虾纸丫 提交于 2020-01-24 19:59:21

问题


When click the row extends the content, keep that row position at same place (in same viewport) and show the extended content below.

Actual Result: Right now, its moving up the old content above and shows the new content in that position.

Expected Result: I want the touched row should be at same place if its extends the row height. So Row should be in the same place where user touched in the screen and they can disable it again by touching in the same position.

How can I achieve this?

来源:https://stackoverflow.com/questions/50330439/flatlist-keep-the-scrollview-content-position-at-same-place

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!