forked from hyochan/hackatalk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve issue hyochan#437 - Fix animation bug in [SignIn] (hyochan#438)
`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).
- Loading branch information
Showing
1 changed file
with
42 additions
and
20 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