Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on DemoEmptyState Tab: scrollToIndex Out-of-Range Error #2901

Open
BoumouzounaBrahimVall opened this issue Feb 12, 2025 · 0 comments
Open
Labels

Comments

@BoumouzounaBrahimVall
Copy link

BoumouzounaBrahimVall commented Feb 12, 2025

Bug Description

When running the Ignite demo app (version 10.1.6), navigating to the DemoShowroomScreen and selecting the last tab on the drawer (DemoEmptyState: styling) causes the app to crash.

Error Details:

(NOBRIDGE) ERROR Invariant Violation: scrollToIndex out of range: requested index 30 is out of 0 to 29

Environment:

  • Emulator: Pixel 6 Pro
  • API Level: 34 (Android 14.0 "UpsideDownCake")
  • Architecture: arm64
  • Command Used: pnpm android

Steps to Reproduce:

  1. Launch the Ignite demo app using the command: pnpm android.
  2. Navigate to the DemoShowroomScreen.
  3. Open the drawer.
  4. Click on the last tab labeled DemoEmptyState: styling.
  5. Observe the crash accompanied by the error message above.

screen record:

Screen.Recording.mov

Ignite version

10.1.6

Additional info

System
  platform           darwin                                           
  arch               arm64                                            
  cpu                12 cores     Apple M2 Pro                        
  directory          boiler       /Users/azzmac/Documents/mine/boiler 

JavaScript (and globally-installed packages)
  node               20.10.0                                   /Users/azzmac/.nvm/versions/node/v20.10.0/bin/node 
  npm                10.2.3                                    /Users/azzmac/.nvm/versions/node/v20.10.0/bin/npm  
    corepack         0.22.0                                                                                       
    eas-cli          10.2.1                                                                                       
    firebase-tools   13.23.1                                                                                      
    npm              10.2.3                                                                                       
    pnpm             9.6.0                                                                                        
    yarn             1.22.22                                                                                      
  yarn               1.22.22                                   /Users/azzmac/.nvm/versions/node/v20.10.0/bin/yarn 
  pnpm               9.15.1                                    /Users/azzmac/.nvm/versions/node/v20.10.0/bin/pnpm 
                     <no pnpm global package info available>                                                      
  bun                -                                         not installed                                      
  expo               52.0.33                                   managed                                            

Ignite
  ignite-cli         10.1.6       /Users/azzmac/.npm/_npx/bec2839915ba8fc3/node_modules/.bin/ignite      
  ignite src         build        /Users/azzmac/.npm/_npx/bec2839915ba8fc3/node_modules/ignite-cli/build 

Android
  java               20.0.2.1     /usr/bin/java                     
  android home       -            /Users/azzmac/Library/Android/sdk 

iOS
  xcode              16.2       
  cocoapods          1.16.2       /opt/homebrew/bin/pod 

Tools
  git                git version 2.39.5 (Apple Git-154)   /usr/bin/git 
@BoumouzounaBrahimVall BoumouzounaBrahimVall changed the title [Demo App]: crollToIndex out of range in DemoShowroomScreen when clicking on the last tab in the drawer Crash on DemoEmptyState Tab: scrollToIndex Out-of-Range Error Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant