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: {
// @ts-ignore web only
left: '50vw',
// @ts-ignore web only -prf
transform: 'translateX(-282px)',
transform: [{translateX: -282}],
},
loadLatestDesktop: {
// @ts-ignore web only
left: '50vw',
// @ts-ignore web only -prf
transform: 'translateX(-382px)',
transform: [{translateX: -382}],
},
indicator: {
position: 'absolute',