mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Explicitly set default scrollbarstyle value
Summary: Explicitly set default scrollbarstyle value. Previously this style was implicitly used as a side effect of how we set padding on the Scrollview. This instead makes that behavior explicit. Reviewed By: astreet Differential Revision: D4386861 fbshipit-source-id: 362d82136a12b75fb81287ac0d0fd58f2ee297fb
This commit is contained in:
1 parent
828addcf55
commit
8105f76226
1 file changed
+1
-1
@@ -102,6 +102,7 @@ public class ReactScrollView extends ScrollView implements ReactClippingViewGrou
|
||||
}
|
||||
|
||||
setOnHierarchyChangeListener(this);
|
||||
setScrollBarStyle(SCROLLBARS_OUTSIDE_OVERLAY);
|
||||
}
|
||||
|
||||
public void setSendMomentumEvents(boolean sendMomentumEvents) {
|
||||
@@ -380,4 +381,3 @@ public class ReactScrollView extends ScrollView implements ReactClippingViewGrou
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user