Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Resolve issue #437 - Fix animation bug in [SignIn] #438

Merged
merged 2 commits into from
Jul 28, 2021

Conversation

DevYuns
Copy link
Contributor

@DevYuns DevYuns commented Jul 28, 2021

Specify project

client

Description

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 or here.

Related Issues

Resolve #437

Tests

N/A

Checklist

Before you create this PR confirms that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I signed the [CLA].
  • Run yarn lint && yarn tsc
  • Run yarn test or yarn test -u if you need to update snapshot.
  • I am willing to follow-up on review comments in a timely manner.

@codecov
Copy link

codecov bot commented Jul 28, 2021

Codecov Report

Merging #438 (990e133) into master (427d3b5) will decrease coverage by 0.03%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #438      +/-   ##
==========================================
- Coverage   62.72%   62.68%   -0.04%     
==========================================
  Files         108      108              
  Lines        2468     2471       +3     
  Branches      394      396       +2     
==========================================
+ Hits         1548     1549       +1     
- Misses        792      794       +2     
  Partials      128      128              
Impacted Files Coverage Δ
client/src/components/pages/SignIn/index.tsx 65.45% <66.66%> (-0.91%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 427d3b5...990e133. Read the comment docs.

@DevYuns DevYuns changed the title [WIP]Resolve issue #437 - Fix animation bug in [SignIn] Resolve issue #437 - Fix animation bug in [SignIn] Jul 28, 2021
@hyochan hyochan merged commit d0aae78 into hyochan:master Jul 28, 2021
@hyochan hyochan mentioned this pull request Jul 29, 2021
imjlk pushed a commit to imjlk/hackatalk that referenced this pull request Aug 19, 2021
`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).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

login page animation starting location issue
2 participants