mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-03 22:48:25 +08:00
Native Animated - Restore default values when removing props on Android
Summary: Same as #11819 but for Android. I didn't notice the bug initially in my app because I was using different animations on Android which did not trigger this issue. **Test plan** Created a simple repro example and tested that this fixes it. https://gist.github.com/janicduplessis/0f3eb362dae63fedf99a0d3ee041796a Closes https://github.com/facebook/react-native/pull/12842 Differential Revision: D5556439 Pulled By: hramos fbshipit-source-id: d13f4ad258d03cca46c793751ebc49d942b99152
This commit is contained in:
committed by
Facebook Github Bot
parent
b4f91be647
commit
ac43548063
@@ -881,6 +881,10 @@ public class UIImplementation {
|
||||
mOperationsQueue.enqueueUIBlock(block);
|
||||
}
|
||||
|
||||
public void prependUIBlock(UIBlock block) {
|
||||
mOperationsQueue.prependUIBlock(block);
|
||||
}
|
||||
|
||||
public int resolveRootTagFromReactTag(int reactTag) {
|
||||
if (mShadowNodeRegistry.isRootNode(reactTag)) {
|
||||
return reactTag;
|
||||
|
||||
Reference in New Issue
Block a user