Fix Gemstone Profile Swiping Animations by fixing Animated.Value for Animated.event
Reviewed By: RSNara Differential Revision: D32037021 fbshipit-source-id: 41da68706e6c752bf480d11112f70692f7234756
This commit is contained in:
Родитель
8fef52035b
Коммит
6fd3bc2175
|
@ -162,6 +162,10 @@ RCT_EXPORT_METHOD(setAnimatedNodeValue:(double)nodeTag
|
|||
[self addOperationBlock:^(RCTNativeAnimatedNodesManager *nodesManager) {
|
||||
[nodesManager setAnimatedNodeValue:[NSNumber numberWithDouble:nodeTag] value:[NSNumber numberWithDouble:value]];
|
||||
}];
|
||||
// In Bridge, flushing of native animations is done from RCTCxxBridge batchDidComplete().
|
||||
// Since RCTCxxBridge doesn't exist in Bridgeless, and components are not remounted in Fabric for native animations,
|
||||
// flush here for changes in Animated.Value for Animated.event.
|
||||
[self flushOperationQueues];
|
||||
}
|
||||
|
||||
RCT_EXPORT_METHOD(setAnimatedNodeOffset:(double)nodeTag
|
||||
|
|
Загрузка…
Ссылка в новой задаче