react-native-extended-stylesheet icon indicating copy to clipboard operation
react-native-extended-stylesheet copied to clipboard

Don't convert rem to pixels for React Native Web

Open efoken opened this issue 5 years ago • 1 comments

Expected Behavior

As React Native Web supports rem values, they don't have to be converted to pixels by this library.

Actual Behavior

rem values are converted to a pixel value.

Show the code

EStyleSheet.create({
  text: {
    fontSize: '1.25rem',
  },
})

Expected output: Web: fontSize: '1.25rem' Native: fontSize: 20

Environment

Expo 38

efoken avatar Sep 09 '20 12:09 efoken

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

stale[bot] avatar Nov 09 '20 08:11 stale[bot]