mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 08:05:34 +00:00
[ReactNative] Returning actual contentSize for RCTScrollViewManager
This commit is contained in:
parent
10b6c57731
commit
6b0711b719
@ -67,7 +67,7 @@ RCT_REMAP_VIEW_PROPERTY(contentOffset, scrollView.contentOffset);
|
||||
return;
|
||||
}
|
||||
|
||||
CGSize size = ((id<RCTScrollableProtocol>)view).contentSize;
|
||||
CGSize size = ((RCTScrollView *)view).scrollView.contentSize;
|
||||
callback(@[@{
|
||||
@"width" : @(size.width),
|
||||
@"height" : @(size.height)
|
||||
|
Loading…
x
Reference in New Issue
Block a user