Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't convert rem to pixels for React Native Web #148

Open
efoken opened this issue Sep 9, 2020 · 1 comment
Open

Don't convert rem to pixels for React Native Web #148

efoken opened this issue Sep 9, 2020 · 1 comment
Labels

Comments

@efoken
Copy link

efoken commented Sep 9, 2020

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

@stale
Copy link

stale bot commented Nov 9, 2020

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 stale bot added the wontfix label Nov 9, 2020
@stale stale bot closed this as completed Nov 22, 2020
@vitalets vitalets added pinned and removed wontfix labels Mar 5, 2021
@vitalets vitalets reopened this Mar 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants