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

Resposiveness does not work on react-native as expected #1792

Open
theankurkedia opened this issue Jan 16, 2021 · 2 comments
Open

Resposiveness does not work on react-native as expected #1792

theankurkedia opened this issue Jan 16, 2021 · 2 comments
Labels

Comments

@theankurkedia
Copy link

theankurkedia commented Jan 16, 2021

Describe the bug
To give a responsive style to the property, you give it an array. This works fine on React. But it does not work on React-Native.

To Reproduce
Just give the values to the property in an array.

Use codesandbox/Snack to create a reproduction:
Snack to reproduce this behaviour: https://snack.expo.io/@theankurkedia/48431d

Although, this works fine with React: https://codesandbox.io/s/hungry-star-qjzkx?file=/src/App.js

Expected behavior
Appropriate value to be applied according to the viewport.

@tusharrajpoot
Copy link

@theankurkedia can you assign it to me?

@theankurkedia
Copy link
Author

@tusharrajpoot Any contributions are welcome 🙏

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