Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Native Animated - Call x.__makeNative before super.__makeNative #14435

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Libraries/Animated/src/AnimatedImplementation.js
Original file line number Diff line number Diff line change
Expand Up @@ -1218,9 +1218,9 @@ class AnimatedDivision extends AnimatedWithChildren {
}

__makeNative() {
super.__makeNative();
this._a.__makeNative();
this._b.__makeNative();
super.__makeNative();
}

__getValue(): number {
Expand Down Expand Up @@ -1266,9 +1266,9 @@ class AnimatedMultiplication extends AnimatedWithChildren {
}

__makeNative() {
super.__makeNative();
this._a.__makeNative();
this._b.__makeNative();
super.__makeNative();
}

__getValue(): number {
Expand Down Expand Up @@ -1309,8 +1309,8 @@ class AnimatedModulo extends AnimatedWithChildren {
}

__makeNative() {
super.__makeNative();
this._a.__makeNative();
super.__makeNative();
}

__getValue(): number {
Expand Down Expand Up @@ -1356,8 +1356,8 @@ class AnimatedDiffClamp extends AnimatedWithChildren {
}

__makeNative() {
super.__makeNative();
this._a.__makeNative();
super.__makeNative();
}

interpolate(config: InterpolationConfigType): AnimatedInterpolation {
Expand Down