1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Partial fix #90

Now playing gifv won't interrupt existing audio playing. But when switching app state, it still will.
This commit is contained in:
Zhiyuan Zheng
2021-03-29 23:53:49 +02:00
parent c4ec88609e
commit 4be0fb5a5f
9 changed files with 47 additions and 23 deletions

View File

@ -139,7 +139,7 @@ const Timeline: React.FC<Props> = ({
ref={customFLRef || flRef}
scrollEventThrottle={16}
onScroll={onScroll}
windowSize={10}
windowSize={7}
data={flattenData}
initialNumToRender={6}
maxToRenderPerBatch={3}