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
Hi, I'm looking for some help or guidance in how I should go about triggering a re-render of a Virtualized component onTransitionEnd() instead of onChangeIndex(). Currently I have set overscanSlideBefore and overscanSlideAfter to 1 each because there is quite an amount of DOM rendering currently being done within each swipeable view. What happens is that there are freezes (which I combat with an animated transition). Here's what it looks like with animations:
t_video6276102389564965519.mp4
And here's what it looks like without an animation:
t_video6276102389564965520.mp4
I trimmed down what's being rendered to show what's happening and you can see the very apparent jumps in the second video due to the re-rendering, which is being triggered onChangeIndex() instead of onTransitionEnd().
Is there any way to force slideRenderer to render the next/prev slide only AFTER the transition has ended, so these freezes don't occur?
The text was updated successfully, but these errors were encountered:
ajaypillay
changed the title
Is it possible to trigger the re-render of a Virtualized component onTransitionEnd()?
[Need Help] Is it possible to trigger the re-render of a Virtualized component onTransitionEnd()?
Dec 23, 2020
Hi, I'm looking for some help or guidance in how I should go about triggering a re-render of a Virtualized component onTransitionEnd() instead of onChangeIndex(). Currently I have set overscanSlideBefore and overscanSlideAfter to 1 each because there is quite an amount of DOM rendering currently being done within each swipeable view. What happens is that there are freezes (which I combat with an animated transition). Here's what it looks like with animations:
t_video6276102389564965519.mp4
And here's what it looks like without an animation:
t_video6276102389564965520.mp4
I trimmed down what's being rendered to show what's happening and you can see the very apparent jumps in the second video due to the re-rendering, which is being triggered onChangeIndex() instead of onTransitionEnd().
Is there any way to force slideRenderer to render the next/prev slide only AFTER the transition has ended, so these freezes don't occur?
The text was updated successfully, but these errors were encountered: