Skip to content

Conversation

@UrazAkgultan
Copy link
Collaborator

Checklist

  • Contains unit tests ✅
  • Contains breaking changes ❌
  • Compatible with: MX 10
  • Did you update version and changelog? ✅
  • PR title properly formatted ([XX-000]: description)? ✅
  • Works in Android ✅
  • Works in iOS ✅
  • Works in Tablet ✅

This PR contains

  • Bug fix
  • Feature
  • Refactor
  • Documentation
  • Other (describe)

What is the purpose of this PR?

Currently, when activeSlide is set to a non-zero value, the IntroScreen always opens on the first slide. This happens because the effect that calls scrollToOffset runs too late (or not at all) and its dependency array doesn’t include the slide value/status, so the FlatList never scrolls to the desired index on mount.

@UrazAkgultan UrazAkgultan requested a review from a team as a code owner July 3, 2025 07:10
@UrazAkgultan UrazAkgultan changed the title [MOO-]: Fix initial slide positioning in IntroScreen widget [MOO-1887]: Fix initial slide positioning in IntroScreen widget Jul 3, 2025
@UrazAkgultan UrazAkgultan merged commit 681c7a1 into version/mx/10 Jul 9, 2025
3 of 4 checks passed
@UrazAkgultan UrazAkgultan deleted the fix/intro-screen branch July 9, 2025 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants