Skip to content

feature: set fixed device types for Snack #3724

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

Conversation

byCedric
Copy link
Contributor

This feature, added in expo/snack#425 helps us avoid the issue reported by @NickGerleman in expo/snack#422.

With this, we (Expo) can update the devices without affecting the React Native docs. We may do this due to outdated visual appearances or OS versions. Only when updated here, and validated that it doesn't cut anything off, the React Native docs can be updated too.

The cutoff is caused by the height changes in the device preview, and can be controlled here:

@netlify
Copy link

netlify bot commented May 17, 2023

Deploy Preview for react-native ready!

Name Link
🔨 Latest commit ae7265f
🔍 Latest deploy log https://app.netlify.com/sites/react-native/deploys/64660d446d52e200080a28fc
😎 Deploy Preview https://deploy-preview-3724--react-native.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@NickGerleman NickGerleman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for taking this on ❤️. Next step for us will be to tweak that around with the fixed height.

@NickGerleman NickGerleman merged commit 5d75dd5 into facebook:main May 18, 2023
@byCedric byCedric deleted the @bycedric/snack/add-fixed-devices-for-snack branch May 19, 2023 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants