-
-
Notifications
You must be signed in to change notification settings - Fork 988
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'next' into @latekvo/remove-deprecated-classes-and-funct…
…ions
- Loading branch information
Showing
52 changed files
with
3,087 additions
and
2,354 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1128,13 +1128,6 @@ | |
resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" | ||
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== | ||
|
||
"@egjs/hammerjs@^2.0.17": | ||
version "2.0.17" | ||
resolved "https://registry.yarnpkg.com/@egjs/hammerjs/-/hammerjs-2.0.17.tgz#5dc02af75a6a06e4c2db0202cae38c9263895124" | ||
integrity sha512-XQsZgjm2EcVUiZQf11UBJQfmZeEmOW8DpI1gsFeln6w0ae0ii4dMQEQ0kjl6DspdWX1aGY1/loyXnP0JS06e/A== | ||
dependencies: | ||
"@types/hammerjs" "^2.0.36" | ||
|
||
"@eslint-community/eslint-utils@^4.2.0", "@eslint-community/eslint-utils@^4.4.0": | ||
version "4.4.0" | ||
resolved "https://registry.yarnpkg.com/@eslint-community/eslint-utils/-/eslint-utils-4.4.0.tgz#a23514e8fb9af1269d5f7788aa556798d61c6b59" | ||
|
@@ -1902,11 +1895,6 @@ | |
dependencies: | ||
"@types/node" "*" | ||
|
||
"@types/hammerjs@^2.0.36": | ||
version "2.0.45" | ||
resolved "https://registry.yarnpkg.com/@types/hammerjs/-/hammerjs-2.0.45.tgz#ffa764bb68a66c08db6efb9c816eb7be850577b1" | ||
integrity sha512-qkcUlZmX6c4J8q45taBKTL3p+LbITgyx7qhlPYOdOHZB7B31K0mXbP5YA7i7SgDeEGuI9MnumiKPEMrxg8j3KQ== | ||
|
||
"@types/istanbul-lib-coverage@*", "@types/istanbul-lib-coverage@^2.0.0", "@types/istanbul-lib-coverage@^2.0.1": | ||
version "2.0.6" | ||
resolved "https://registry.yarnpkg.com/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz#7739c232a1fee9b4d3ce8985f314c0c6d33549d7" | ||
|
@@ -3828,6 +3816,13 @@ [email protected]: | |
dependencies: | ||
hermes-estree "0.24.0" | ||
|
||
hoist-non-react-statics@^3.3.0: | ||
version "3.3.2" | ||
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz#ece0acaf71d62c2969c2ec59feff42a4b1a85b45" | ||
integrity sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw== | ||
dependencies: | ||
react-is "^16.7.0" | ||
|
||
html-escaper@^2.0.0: | ||
version "2.0.2" | ||
resolved "https://registry.yarnpkg.com/html-escaper/-/html-escaper-2.0.2.tgz#dfd60027da36a36dfcbe236262c00a5822681453" | ||
|
@@ -5672,7 +5667,7 @@ react-devtools-core@^5.3.1: | |
resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.3.1.tgz#e83557dc12eae63a99e003a46388b1dcbb44db7e" | ||
integrity sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg== | ||
|
||
react-is@^16.13.1: | ||
react-is@^16.13.1, react-is@^16.7.0: | ||
version "16.13.1" | ||
resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" | ||
integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
id: swipe-and-scroll | ||
title: Custom swipeable components inside ScrollView (web) | ||
--- | ||
|
||
While we recommend using our own [`ReanimatedSwipeable`](../components/reanimated_swipeable.md) component, creating your own version of swipeable gives you more control over its behavior. Common issue here is that after creating your own swipeable component, scroll does not work. In that case, try adding [`touchAction`](../gestures/gesture-detector.md#touchaction-web-only) set to `"pan-y"`, like this: | ||
|
||
```jsx | ||
<GestureDetector gesture={...} ... touchAction="pan-y"> | ||
... | ||
</GestureDetector> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
export default ({ config }) => ({ | ||
...config, | ||
name: 'example', | ||
slug: 'example', | ||
version: '0.0.1', | ||
orientation: 'portrait', | ||
icon: './assets/icon.png', | ||
sdkVersion: '51.0.0', | ||
splash: { | ||
image: './assets/splash.png', | ||
resizeMode: 'cover', | ||
backgroundColor: '#F8F9FF', | ||
}, | ||
ios: { | ||
bundleIdentifier: 'com.example', | ||
buildNumber: '1', | ||
supportsTablet: true, | ||
}, | ||
android: { | ||
versionCode: 1, | ||
package: 'com.example', | ||
adaptiveIcon: { | ||
foregroundImage: './assets/adaptive-icon.png', | ||
backgroundColor: '#F8F9FF', | ||
}, | ||
}, | ||
web: { | ||
favicon: './assets/favicon.png', | ||
}, | ||
plugins: [ | ||
[ | ||
'expo-camera', | ||
{ | ||
cameraPermission: 'Allow RNGH example to access your camera', | ||
}, | ||
], | ||
[ | ||
'expo-font', | ||
{ | ||
fonts: [ | ||
'./node_modules/@swmansion/icons/fonts/broken/swm-icons-broken.ttf', | ||
'./node_modules/@swmansion/icons/fonts/outline/swm-icons-outline.ttf', | ||
'./node_modules/@swmansion/icons/fonts/curved/swm-icons-curved.ttf', | ||
], | ||
}, | ||
], | ||
[ | ||
'expo-build-properties', | ||
{ | ||
ios: { | ||
newArchEnabled: Boolean(Number(process.env.FABRIC_ENABLED)), | ||
}, | ||
android: { | ||
newArchEnabled: Boolean(Number(process.env.FABRIC_ENABLED)), | ||
}, | ||
}, | ||
], | ||
], | ||
}); |
Oops, something went wrong.