Skip to content

Crash: "Attempt to unmount a view which has a different index" with FastSquircleView in a FlashList #28

Description

@aljadan

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

Hey 👋 First off, thanks a lot for this package, it's been great to use
also good luck with Nebula, really excited to see it go public soon 🚀

On to the issue: I had a list rendering its items with plain Views and everything was fine, The moment I swapped them with FastSquircleView, it started crashing:

*** Terminating app due to uncaught exception 'NSInternalInconsistencyException',
reason: 'Attempt to unmount a view which has a different index ...'

interestingly it doesn't happen on every list, i swapped a few others and they were fine, only one of them crashes so it seems tied to the styling/structure of that item component too

Repro below 🙏 thanks

Library version

1.1.2

Environment info

System:
    OS: macOS 26.5
    Node: 22.22.2
    npm: 10.9.7
  IDEs:
    Xcode: 26.4.1/17E202
  npmPackages:
    react: 19.2.3
    react-native: 0.85.3
    @shopify/flash-list: 2.0.2
    react-native-fast-squircle: 1.1.2
  New Architecture (Fabric): enabled
  Platform: iOS

Steps to reproduce

Simulator.Screen.Recording.-.iPhone.16.Pro.Max.-.2026-06-05.at.19.05.14.mov

Reproducible example repository

https://github.com/aljadan/fast-squircle-issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions