Skip to content

ScrollViewManager.getContentSize not working Cannot find RCTScrollView with tag #3342 #51339

Open
@weinixuehao

Description

@weinixuehao

Description

Cannot find RCTScrollView with tag #3342

__48-[RCTScrollViewManager getContentSize:callback:]_block_invoke
RCTScrollViewManager.m:123
__32-[RCTUIManagerProxy addUIBlock:]_block_invoke
__RCTExecuteOnMainQueue_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_drain
_dispatch_main_queue_callback_4CF
CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
-[UIApplication _run]
UIApplicationMain
__swift_destroy_boxed_opaque_existential_1Tm
$sSo21UIApplicationDelegateP5UIKitE4mainyyFZ
$s14WTAPPReactBeta11AppDelegateC5$mainyyFZ
__debug_main_executable_dylib_entry_point
start_sim
0x0

Steps to reproduce

My code can not share.

React Native Version

0.79.2

Affected Platforms

Runtime - iOS

Output of npx @react-native-community/cli info

warn Package @ant-design/icons-react-native contains invalid configuration: "dependency.assets" is not allowed. Please verify it's properly linked using "npx react-native config" command and contact the package maintainers about this.
info Fetching system and libraries information...
System:
  OS: macOS 15.4.1
  CPU: (8) arm64 Apple M2
  Memory: 130.81 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.18.0
    path: ~/.nvm/versions/node/v18.18.0/bin/node
  Yarn:
    version: 1.22.22
    path: ~/.nvm/versions/node/v18.18.0/bin/yarn
  npm:
    version: 9.8.1
    path: ~/.nvm/versions/node/v18.18.0/bin/npm
  Watchman:
    version: 2025.03.03.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.2
      - iOS 18.2
      - macOS 15.2
      - tvOS 18.2
      - visionOS 2.2
      - watchOS 11.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2024.2 AI-242.23339.11.2421.12700392
  Xcode:
    version: 16.2/16C5032a
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.14
    path: /Users/chenlong/.jenv/shims/javac
  Ruby:
    version: 3.1.6
    path: /opt/homebrew/opt/[email protected]/bin/ruby
npmPackages:
  "@react-native-community/cli":
    installed: 18.0.0
    wanted: 18.0.0
  react:
    installed: 19.0.0
    wanted: 19.0.0
  react-native:
    installed: 0.79.2
    wanted: 0.79.2
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: true
  newArchEnabled: true
iOS:
  hermesEnabled: true
  newArchEnabled: true

Stacktrace or Logs

Cannot find RCTScrollView with tag #3342

__48-[RCTScrollViewManager getContentSize:callback:]_block_invoke
    RCTScrollViewManager.m:123
__32-[RCTUIManagerProxy addUIBlock:]_block_invoke
__RCTExecuteOnMainQueue_block_invoke
_dispatch_call_block_and_release
_dispatch_client_callout
_dispatch_main_queue_drain
_dispatch_main_queue_callback_4CF
__CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
__CFRunLoopRun
CFRunLoopRunSpecific
GSEventRunModal
-[UIApplication _run]
UIApplicationMain
__swift_destroy_boxed_opaque_existential_1Tm
$sSo21UIApplicationDelegateP5UIKitE4mainyyFZ
$s14WTAPPReactBeta11AppDelegateC5$mainyyFZ
__debug_main_executable_dylib_entry_point
start_sim
0x0

MANDATORY Reproducer

can not share

Screenshots and Videos

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions