This enables tap events to go through the ScrollView and trigger onPress
on Touchable things inside the ScrollView. So while the keyboard is showing
in a TextInput inside a ScrollView and you tap a button, the button will
actually tap instead of needing one tap to dismiss keyboard, and one tap
on the button
* fix: upgrade react-native-webview dependency, remove obsolete props
react-native-webview issued a breaking change release to shed the
UIWebView references on iOS, as Apple indicated they would soon stop
accepting app submissions that used that deprecated API.
react-native-webview is now fully WebKit and without this the webview
extension here references obsolete symbols because the JS layer still has
RNCWKWebView symbols from react-native-webview <7 while the auto-linked
iOS Pod is from react-native-webview >=7
Perhaps react-native-webview should be a peerDependency?
More info: https://github.com/react-native-community/react-native-webview/releases/tag/v7.0.1
* remove react-native-webview devDependency as part of lean-core extraction
* update package-lock after removing react-native-webview devDependency
* Use new/temporary react lifecycle methods (#1039)
This migration was performed using the recommend codemod tool:
`npx react-codemod rename-unsafe-lifecycles`
https://reactjs.org/blog/2019/08/08/react-v16.9.0.html#renaming-unsafe-lifecycle-methods
The change to tslint.json should be reverted after the second phase of this change
where the deprecated/UNSAFE APIs are removed completely in favor of different lifecycle APIs
The converted code will not work on react versions < v16.3 (react-native v0.55)
The converted code will continue to work on react v17.x
* Log what test is next so failures are easy to localize
* Fix mouse test render failure, text must be inside text JSX
* Change button render direction so all buttons are visible
* Remove SyncTasks from reactxp core and prefer ES6 promises
Usage of ES6 promises is more standardized, using SyncTasks by default doesn't provide many consumers a large benefit. If they need SyncTasks promises, they can wrap in SyncTasks.fromThenable at the use site
* Update reactxp-netinfo to remove SyncTasks
* Update samples to use ES6 promises
* prevent onMouseDown to trigger after onTouchStart
* fix regression where onPress is not triggered
* fix regression where onPress is triggered while cursor is outside
* Extract the WebView component out of core and into an extension
* Fix a race condition that could result in accurate test results in RXP Test
* Resolve Github review nit
* Fix typo
InterpolatedValue relies on setValue of the base AnimatedValue to determine it's iner state. Directly setting the value in _updateFinalValue prevents the InterpolatedValue from getting the correct value, so animating in the reverse direction fails
* Change to extracted NetInfo instead of version bundled with React Native
* Update to v3 of react-native-netinfo
* Move RX.Network into reactxp-netinfo
* Use reatxp-netinfo in RXPTest
* Remove reat-native-community/netinfo from base reactxp package
* Integrate NetInfo 3.2.0 which includes Windows support
* Remove file that is not part of these changes
* Remove un-needed file
* Update comments in rxp-netinfo headers
* Update dependencies
* Update RXPTest sample to match new React Native template
* Change to extracted AsyncStorage instead of version bundled with React Native
* Change to extracted WebView instead of version bundled with React Native
* Keep compatibility with old WebView code that uses window.postMessage
* Update RXPTest sample Android icons to match new React Native template
* Change to extracted NetInfo instead of version bundled with React Native
* Revert "Change to extracted NetInfo instead of version bundled with React Native"
This reverts commit 480be0c370.
* Update dependencies again
* Update WebView for better Windows support
* Improve support of React Native v0.57
* Fix conflict with commit 416fb98d05
* Update dependencies
* Update AsyncStorage for better Windows support
* Improve reliability of WebView postMessage across all platforms
* Update dependencies
* Update dependencies
* Revert AsyncStorage changes
* Relax some peer dependency requirements
* Changes from PR review
* Changes from PR review
* fix on mobile
* fix on desktop
* ignore click after a longpress followed by a mouse leave
* fix regression
* Web: rewrite onResponderRelease/onPressOut rules