-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
81 additions
and
22 deletions.
There are no files selected for viewing
13 changes: 0 additions & 13 deletions
13
patches/@expensify+react-native-live-markdown+0.1.103+001+intial.patch
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
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
13 changes: 13 additions & 0 deletions
13
patches/react-native+0.75.0-rc.4+013+fixTextCompilationSymbols.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/react-native/ReactCommon/react/renderer/components/textinput/CMakeLists.txt b/node_modules/react-native/ReactCommon/react/renderer/components/textinput/CMakeLists.txt | ||
index 9881461..c311a05 100644 | ||
--- a/node_modules/react-native/ReactCommon/react/renderer/components/textinput/CMakeLists.txt | ||
+++ b/node_modules/react-native/ReactCommon/react/renderer/components/textinput/CMakeLists.txt | ||
@@ -15,7 +15,7 @@ add_compile_options( | ||
-DLOG_TAG=\"Fabric\") | ||
|
||
file(GLOB rrc_textinput_SRC CONFIGURE_DEPENDS *.cpp platform/android/react/renderer/components/androidtextinput/*.cpp) | ||
-add_library(rrc_textinput STATIC ${rrc_textinput_SRC}) | ||
+add_library(rrc_textinput SHARED ${rrc_textinput_SRC}) | ||
|
||
target_include_directories(rrc_textinput PUBLIC . ${CMAKE_CURRENT_SOURCE_DIR}/platform/android/) | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
diff --git a/node_modules/react-native-animatable/createAnimatableComponent.js b/node_modules/react-native-animatable/createAnimatableComponent.js | ||
index 2847e12..331d44f 100644 | ||
--- a/node_modules/react-native-animatable/createAnimatableComponent.js | ||
+++ b/node_modules/react-native-animatable/createAnimatableComponent.js | ||
@@ -465,7 +465,9 @@ export default function createAnimatableComponent(WrappedComponent) { | ||
const needsZeroClamping = | ||
ZERO_CLAMPED_STYLE_PROPERTIES.indexOf(property) !== -1; | ||
if (needsInterpolation) { | ||
- transitionValue.setValue(0); | ||
+ transitionValue = new Animated.Value(0); | ||
+ transitionValues[property] = transitionValue; | ||
+ | ||
transitionStyle[property] = transitionValue.interpolate({ | ||
inputRange: [0, 1], | ||
outputRange: [fromValue, toValue], | ||
@@ -546,7 +548,6 @@ export default function createAnimatableComponent(WrappedComponent) { | ||
transitions.to[property] = toValue; | ||
} | ||
}); | ||
- | ||
if (Object.keys(transitions.from).length) { | ||
this.transition(transitions.from, transitions.to, duration, easing); | ||
} |
12 changes: 12 additions & 0 deletions
12
patches/react-native-reanimated+3.13.0+003+dontWhitelistTextProp.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
diff --git a/node_modules/react-native-reanimated/src/component/PerformanceMonitor.tsx b/node_modules/react-native-reanimated/src/component/PerformanceMonitor.tsx | ||
index 9e66803..3620fe9 100644 | ||
--- a/node_modules/react-native-reanimated/src/component/PerformanceMonitor.tsx | ||
+++ b/node_modules/react-native-reanimated/src/component/PerformanceMonitor.tsx | ||
@@ -47,7 +47,6 @@ function createCircularDoublesBuffer(size: number) { | ||
} | ||
|
||
const DEFAULT_BUFFER_SIZE = 60; | ||
-addWhitelistedNativeProps({ text: true }); | ||
const AnimatedTextInput = createAnimatedComponent(TextInput); | ||
|
||
function loopAnimationFrame(fn: (lastTime: number, time: number) => void) { |