-
-
Notifications
You must be signed in to change notification settings - Fork 148
login page animation starting location issue #437
Comments
Might be related or not.. It happens only after the commit 7f60fed) and If I commented this line, It works as before
Is this new scale animation intended? Tested on: |
Thank you so much for testing it out! @DevYuns I think you might want to check this one! |
Let me check it out soon! Thank you for reporting. |
`transform` animation value is not preserved between render on mobile. This is the reason that `scale` is return to origin when writing a text on `textInput` which invokes `re-render`. So I changed animation value from `scale` to `width` and `height`. But there is a bug about `withSpring` function on `web`, then I splits an animation value according to platform. This bug seems to have related with `react-native-web`. You can check relate issue with [here](software-mansion/react-native-reanimated#1804) or [here](necolas/react-native-web#1935).
`transform` animation value is not preserved between render on mobile. This is the reason that `scale` is return to origin when writing a text on `textInput` which invokes `re-render`. So I changed animation value from `scale` to `width` and `height`. But there is a bug about `withSpring` function on `web`, then I splits an animation value according to platform. This bug seems to have related with `react-native-web`. You can check relate issue with [here](software-mansion/react-native-reanimated#1804) or [here](necolas/react-native-web#1935).
Specify project
Client issue
Describe the bug
Different starting location for login page animation on web and mobile
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Animation starting location is different
Screenshots
web.mov
mobile.mov
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
[wehack2021]-[Cloud]
The text was updated successfully, but these errors were encountered: