scrollTo/onScroll used the full screen width, but the ScrollView viewport is narrower (card margins + padding), so the computed index desynced from the visible slide — the last slide kept showing "Next"/"Skip" instead of "Start browsing". Measure the real viewport width via onLayout and use it for paging, scrollTo and index. Caught on the emulator (uiautomator dump — FLAG_SECURE blocks screenshots). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| lib | ||
| native | ||
| screens | ||
| api.ts | ||
| changelog.ts | ||
| ClientContext.tsx | ||
| ErrorBoundary.tsx | ||
| navigation.tsx | ||
| PreferencesContext.tsx | ||
| SceneActionsContext.tsx | ||
| storage.ts | ||
| theme.ts | ||
| types.ts | ||