You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In your example in ChatPage, when we change _addMessage(RandomTool.genInt(min: 1, max: 3))=> _addMessage(RandomTool.genInt(min: 10, max: 15)); keep position is not working correctly;
My code
No response
Try do it
No response
The text was updated successfully, but these errors were encountered:
Note: This feature relies on the latest message view before the message is inserted as a reference to calculate the offset, so if too many messages are inserted at once and the reference message view cannot be rendered, this feature will fail, and you need to try to avoid this problem by setting a reasonable value for cacheExtent of ScrollView by yourself!
The size calculation of cacheExtent can refer to the following formula:
cacheExtent = [maximum height of a message] * [number of messages inserted at one time] + 200
Platforms
ANDROID
Description
In your example in ChatPage, when we change _addMessage(RandomTool.genInt(min: 1, max: 3))=> _addMessage(RandomTool.genInt(min: 10, max: 15)); keep position is not working correctly;
My code
No response
Try do it
No response
The text was updated successfully, but these errors were encountered: