react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

Helvetica font in TextInput

Open nomartin opened this issue 8 years ago • 2 comments

We have been testing different fonts for UX.

The bottom of the letters: g y p q j are cut off for Helvetica The placeholder works great but as soon as text is entered, the bottom of the letters are not drawn (see the SS below).

image

Code:

import * as React from 'react';
import { TextInput, Text, View } from 'react-native';

class FontTest extends React.Component {
  public render() {
    return (
      <View>
        <View>
          <TextInput style={{ fontFamily: 'Helvetica' }}
           autoCorrect={false}
           placeholder="Helvetica : g y p q j"
          />
        </View>
        <View>
          <TextInput style={{ fontFamily: 'Helvetica' }}
           autoCorrect={false}
           placeholder="Helvetica : g y p q j"
          />
        </View>
      </View>
    );
  }
}

export default FontTest;

nomartin avatar Mar 30 '18 02:03 nomartin

@nomartin can you confirm if this is still an issue in the latest version of react-native-windows? We've updated Yoga, so presumably we may not have this layout problem anymore.

rozele avatar Feb 26 '19 04:02 rozele

We are not investing in new features or lower priority bug fixes on vCurrent. The bulk of investment is now in vNext as we prepare to make that the default choice. If this issue is still relevant on the vNext implementation please open a vNext issue. If this issue is of significant severity for a vCurrent app and vNext is not an option, re-open with justification.

ghost avatar Oct 25 '19 21:10 ghost