Skip to content

[Bug]: IllegalArgumentException: Scrapped or attached views may not be recycled #512

@ziga-hvalec

Description

@ziga-hvalec

Is there an existing issue for this?

  • I have searched the existing issues

Description of the bug

We're getting this error drugin navigation

IllegalArgumentException: Scrapped or attached views may not be recycled. isScrap:false isAttached:true androidx.viewpager2.widget.ViewPager2$RecyclerViewImpl{7da526c V.ED..... ......ID 0,0-688,271 #2b}, adapter:com.google.android.libraries.geo.navcore.turncard.views.ap@501aa18, layout:androidx.viewpager2.widget.ViewPager2$LinearLayoutManagerImpl@dca9ab1, context:<package_name>.MainActivity@589b12f

we werent yet able to reproduce

React Native version

0.81.4

React version

19.1.0

Package version

0.11.0

Native SDK versions

  • I haven't changed the version of the native SDKs

React Native Doctor Output

Looks good

Steps to reproduce

We weren't yet able to reproduce

Expected vs Actual Behavior

No error

Code Sample

// Example code here

Additional Context

No response

Metadata

Metadata

Assignees

Labels

priority: p0Highest priority. Critical issue. P0 implies highest priority.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions