Skip to content

[fix] Fix out-of-bounds selection in UICollectionView" - #1433

Open
ye7ia33 wants to merge 1 commit into
WenchaoD:masterfrom
ye7ia33:fix/collectionview-selection-issue
Open

[fix] Fix out-of-bounds selection in UICollectionView"#1433
ye7ia33 wants to merge 1 commit into
WenchaoD:masterfrom
ye7ia33:fix/collectionview-selection-issue

Conversation

@ye7ia33

@ye7ia33 ye7ia33 commented Apr 26, 2024

Copy link
Copy Markdown

No description provided.

@github-jinwei

Copy link
Copy Markdown

error info:
#0 (null) in __exceptionPreprocess ()
#1 (null) in objc_exception_throw ()
#2 (null) in -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] ()
#3 (null) in -[UICollectionView _validateSelectionOrHighlightIndexPath:isSelection:allowMassIndexPath:assertIfInvalid:] ()

UICollectionView tries to select a particular IndexPath and finds that the IndexPath is invalid. This usually occurs when the IndexPath does not exist in the current data source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants