mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Allow RCTScrollViewComponentView to be subclass-able (#56319)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/56319 While RCTScrollViewComponentView is overridable, its NOT a UIScrollView. It has a private property this is the scroll view and if you want to override UIScrollView behavior you have to change this. Changelog: [Internal] Reviewed By: sbuggay Differential Revision: D99462381 fbshipit-source-id: fec7741248c229c301ba60b6b2b4d06bb14297de
This commit is contained in:
1 parent
dd0290f8f4
commit
b1d12f5354
3 files changed
+3
-3
No files matched your search
@@ -1987,8 +1987,8 @@ interface RCTScrollView : public RCTView <UIScrollViewDelegate, RCTScrollablePro
|
||||
interface RCTScrollViewComponentView {
|
||||
protected __pad0__;
|
||||
public @property (assign) CGRect firstResponderFocus;
|
||||
public @property (strong) UIScrollView* scrollView;
|
||||
public @property (strong, readonly) RCTGenericDelegateSplitter<id<UIScrollViewDelegate>>* scrollViewDelegateSplitter;
|
||||
public @property (strong, readonly) UIScrollView* scrollView;
|
||||
public @property (strong, readonly) UIView* containerView;
|
||||
public @property (weak) UIView* firstResponderViewOutsideScrollView;
|
||||
public virtual static _Nullable RCTScrollViewComponentView* findScrollViewComponentViewForView:(UIView* view);
|
||||
|
||||
@@ -1987,8 +1987,8 @@ interface RCTScrollView : public RCTView <UIScrollViewDelegate, RCTScrollablePro
|
||||
interface RCTScrollViewComponentView {
|
||||
protected __pad0__;
|
||||
public @property (assign) CGRect firstResponderFocus;
|
||||
public @property (strong) UIScrollView* scrollView;
|
||||
public @property (strong, readonly) RCTGenericDelegateSplitter<id<UIScrollViewDelegate>>* scrollViewDelegateSplitter;
|
||||
public @property (strong, readonly) UIScrollView* scrollView;
|
||||
public @property (strong, readonly) UIView* containerView;
|
||||
public @property (weak) UIView* firstResponderViewOutsideScrollView;
|
||||
public virtual static _Nullable RCTScrollViewComponentView* findScrollViewComponentViewForView:(UIView* view);
|
||||
|
||||
Reference in new issue
Block a user