We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96733c2 commit 2325e33Copy full SHA for 2325e33
packages/core/ui/text-base/index.android.ts
@@ -186,6 +186,11 @@ export class TextBase extends TextBaseCommon {
186
super.initNativeView();
187
initializeTextTransformation();
188
const nativeView = this.nativeTextViewProtected;
189
+
190
+ // Fix for custom font over-height issue on Android
191
+ // Disable font padding to prevent extra spacing around text
192
+ nativeView.setIncludeFontPadding(false);
193
194
this._defaultTransformationMethod = nativeView.getTransformationMethod();
195
this._defaultMovementMethod = nativeView.getMovementMethod();
196
this._minHeight = nativeView.getMinHeight();
0 commit comments