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:
Emil Sjolander 2017-01-06 06:39:33 -08:00 committed by Facebook Github Bot
parent 828addcf55
commit 8105f76226
1 changed files with 1 additions and 1 deletions

View File

@ -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
}
}
}