A framework for building native macOS apps with React.
Перейти к файлу
James Ide 20d95ed129 [Scroll] Include content insets in scroll events
Summary:
When calculating how far the user has scrolled, it is necessary to know the content insets where:

    number of pixels scrolled = content offset + leading content inset for the scroll axis

This diff adds the contentInset field to native scroll events.
Closes https://github.com/facebook/react-native/pull/737
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-09 08:45:58 -08:00
Examples Ensure that NSLocationWhenInUseUsageDescription is set, throw error if not 2015-04-08 21:28:16 -08:00
IntegrationTests (Xcode) Set indent=2 in all xcodeproj files. 2015-04-01 17:14:45 -08:00
Libraries [React Native] Fix RCTText crashes 2015-04-09 07:34:12 -08:00
React [Scroll] Include content insets in scroll events 2015-04-09 08:45:58 -08:00
jestSupport [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
lint [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
packager [react-native] Listen on all IPv6 interfaces 2015-04-08 14:23:52 -08:00
.eslintignore [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
.eslintrc [ReactNative] Turn of lint warning for constant conditions 2015-04-03 10:04:35 -08:00
.flowconfig [React Native] Sync from github 2015-03-27 22:09:11 -08:00
React.podspec [ReactNative] rename Animation to AnimationExperimental with warning docs 2015-04-04 11:20:45 -08:00
linter.js [ReactNative] Expanded license on js files 2015-03-23 13:17:54 -08:00
package.json [react-packager] Implement new style asset packaging (with dimensions) 2015-04-08 13:11:21 -08:00
runXcodeTests.sh [React Native] Sync from github 2015-03-27 22:09:11 -08:00