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

NSInternalInconsistencyException: Attempted to scroll the collection view to an out-of-bounds item (0) when there are only 0 items ... #21081

Closed
sentry-io bot opened this issue Jul 12, 2023 · 2 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Jul 12, 2023

Sentry Issue: JETPACK-IOS-FR2

NSInternalInconsistencyException: Attempted to scroll the collection view to an out-of-bounds item (0) when there are only 0 items in section 0. Collection view: <UICollectionView: 0x162a3c200; frame = (0 0; 0 0); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x2866e8e40>; backgroundColor = <UIDynamicSystemColor: 0x282014f80; name = systemBackgroundColor>; layer = <CALayer: 0x283e45fc0>; contentOffset: {0, 0}; contentSize: {0, 0}; adjustedContentInset: {0, 0, 0, 0}; layout: <UICollectionViewFlowLayout: 0x14e13edf0>; dataSource: (null)>.
  File "WPMediaPickerViewController.m", line 579, in -[WPMediaPickerViewController scrollToStart:]
  File "GutenbergMediaPickerHelper.swift", line 100, in GutenbergMediaPickerHelper.presentCameraCaptureFullScreen
  File "GutenbergViewController.swift", line 676, in GutenbergViewController.gutenbergDidRequestMediaFromCameraPicker
  File "GutenbergViewController.swift", line 612, in GutenbergViewController.gutenbergDidRequestMedia
  File "RNReactNativeGutenbergBridge.swift", line 40, in RNReactNativeGutenbergBridge.requestMediaPickFrom
...
(19 additional frame(s) were not displayed)
@kean
Copy link
Contributor

kean commented Aug 25, 2023

This is partially fixed in the scope of #21190, but we are still using WPMediaPicker for your WordPress Media (for now).

@kean
Copy link
Contributor

kean commented Nov 10, 2023

No occurrences in the latest releases, closing.

@kean kean closed this as completed Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants