Describe the bug
React native deprecated absoluteFillObject
To Reproduce
Steps to reproduce the behavior:
- Upgrade to rn 0.85
- OTP containers are getting close to each other when it is filled
Expected behavior
OTP containers should remain the same position
Additional context
I patched it with the below for now.
diff --git a/node_modules/react-native-otp-entry/dist/OtpInput/OtpInput.styles.js b/node_modules/react-native-otp-entry/dist/OtpInput/OtpInput.styles.js
index 115c729..9073662 100644
--- a/node_modules/react-native-otp-entry/dist/OtpInput/OtpInput.styles.js
+++ b/node_modules/react-native-otp-entry/dist/OtpInput/OtpInput.styles.js
@@ -21,7 +21,7 @@ exports.styles = react_native_1.StyleSheet.create({
fontSize: 28,
},
hiddenInput: {
- ...react_native_1.StyleSheet.absoluteFillObject,
+ ...react_native_1.StyleSheet.absoluteFill,
...react_native_1.Platform.select({
ios: {
opacity: 0.02,
Describe the bug
React native deprecated absoluteFillObject
To Reproduce
Steps to reproduce the behavior:
Expected behavior
OTP containers should remain the same position
Additional context
I patched it with the below for now.