We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b25969a commit a07060eCopy full SHA for a07060e
src/Container.tsx
@@ -228,7 +228,9 @@ export const Container = React.memo(
228
const toggleSyncScrollFrame = (toggle: boolean) =>
229
syncScrollFrame.setActive(toggle)
230
const syncScrollFrame = useFrameCallback(({ timeSinceFirstFrame }) => {
231
- syncCurrentTabScrollPosition()
+ if (timeSinceFirstFrame % 100 === 0) {
232
+ syncCurrentTabScrollPosition()
233
+ }
234
if (timeSinceFirstFrame > 1500) {
235
runOnJS(toggleSyncScrollFrame)(false)
236
}
0 commit comments