Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于需要返回列表每一行高度的函数 #476

Open
netangsoft opened this issue Feb 19, 2022 · 1 comment
Open

关于需要返回列表每一行高度的函数 #476

netangsoft opened this issue Feb 19, 2022 · 1 comment

Comments

@netangsoft
Copy link

如果需要返回每一行的高度才可以使用的话
那么在聊天这种应用场景中,在某一条聊记录中,文字和图片是不固定的,中怎么获取它的高度呢?

image

@originme
Copy link

可以试一下 https://github.com/airamrguez/react-native-measure-text 计算高度

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants