Fix crash when scrolling down on the web (#1684)

zio/stable
dan 2023-10-12 21:15:19 +01:00 committed by GitHub
parent 997918547c
commit 4431cfe2d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -74,14 +74,12 @@ const styles = StyleSheet.create({
loadLatestTablet: { loadLatestTablet: {
// @ts-ignore web only // @ts-ignore web only
left: '50vw', left: '50vw',
// @ts-ignore web only -prf transform: [{translateX: -282}],
transform: 'translateX(-282px)',
}, },
loadLatestDesktop: { loadLatestDesktop: {
// @ts-ignore web only // @ts-ignore web only
left: '50vw', left: '50vw',
// @ts-ignore web only -prf transform: [{translateX: -382}],
transform: 'translateX(-382px)',
}, },
indicator: { indicator: {
position: 'absolute', position: 'absolute',