diff --git a/src/components/TextInput/BaseTextInput/index.native.tsx b/src/components/TextInput/BaseTextInput/index.native.tsx index afd796d8c878..c26ab8700bc0 100644 --- a/src/components/TextInput/BaseTextInput/index.native.tsx +++ b/src/components/TextInput/BaseTextInput/index.native.tsx @@ -426,9 +426,6 @@ function BaseTextInput( styles.visibilityHidden, ]} onLayout={(e) => { - if (e.nativeEvent.layout.width === 0) { - return; - } setTextInputWidth(e.nativeEvent.layout.width); setTextInputHeight(e.nativeEvent.layout.height); }} diff --git a/src/components/TextInput/BaseTextInput/index.tsx b/src/components/TextInput/BaseTextInput/index.tsx index 4fa47eff4128..49b203b37567 100644 --- a/src/components/TextInput/BaseTextInput/index.tsx +++ b/src/components/TextInput/BaseTextInput/index.tsx @@ -447,9 +447,6 @@ function BaseTextInput( styles.visibilityHidden, ]} onLayout={(e) => { - if (e.nativeEvent.layout.width === 0) { - return; - } let additionalWidth = 0; if (Browser.isMobileSafari() || Browser.isSafari() || Browser.isMobileChrome()) { additionalWidth = 2;