react-native/React
Ramanpreet Nara e5f95aba9b Implement 'bounces' prop
Summary:
@public

The content that loads inside `WKWebView` renders within a `ScrollView`. Suppose the user pulls the page down when its top edge hits the top edge of the web view. Then, one of two things can happen as the user continues to pull the page down:
1. We let the page be pulled past the top edge of the web view.
1. We fix the page's vertical offset to 0 so that it doesn't move past the top edge of the web view.

The property that controls this behaviour is `<WKWebView bounces={true|false}/>`. In this diff, I implement it.

Reviewed By: mmmulani

Differential Revision: D6306866

fbshipit-source-id: 7763df78676215c3dd0bd7a029497a6eca1873ab
2018-08-16 16:52:43 -07:00
..
Base Correctly find rootView when RCTTouchHandler is in a RCTSurface 2018-08-13 11:32:17 -07:00
CxxBridge Add REGISTER_JS_SEGMENT perf markers 2018-08-10 09:37:42 -07:00
CxxModule iOS downgrade error to warning when invoking native module with invalid bridge 2018-08-14 18:19:01 -07:00
CxxUtils Update license headers for MIT license 2018-02-16 18:31:53 -08:00
DevSupport Hiding pre-bundled notification when not on dev mode 2018-07-17 07:17:09 -07:00
Fabric Fabric: Using `const &` pattern everywhere in RCTConversions 2018-08-04 09:47:30 -07:00
Inspector Show warning instead of error on duplicate connection 2018-08-02 03:16:33 -07:00
Modules Replace deprecated `UILineBreakModeWordWrap` with `NSLineBreakByWordWrapping` (#19791) 2018-07-15 00:16:32 -07:00
Profiler Fix memory usage display in Perf Monitor (#19664) 2018-08-09 12:46:47 -07:00
React.xcodeproj Added necessary headers and sources to fix compilation errors for tvOS target (#20406) 2018-07-30 20:16:19 -07:00
UIUtils Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Views Implement 'bounces' prop 2018-08-16 16:52:43 -07:00
third-party.xcconfig OSS: upgrade Folly 2016.09.26 => 2016.10.31 2018-04-13 17:33:23 -07:00