Skip to content

feature: set fixed device types for Snack#3724

Merged
NickGerleman merged 3 commits into
react:mainfrom
byCedric:@bycedric/snack/add-fixed-devices-for-snack
May 18, 2023
Merged

feature: set fixed device types for Snack#3724
NickGerleman merged 3 commits into
react:mainfrom
byCedric:@bycedric/snack/add-fixed-devices-for-snack

Conversation

@byCedric

Copy link
Copy Markdown
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: https://github.com/facebook/react-native-website/blob/d67805884a7c0920dcefc1af5894580984918239/website/src/css/customTheme.scss#L1717

@netlify

netlify Bot commented May 17, 2023

Copy link
Copy Markdown

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.

Comment thread website/docusaurus.config.js Outdated

@NickGerleman NickGerleman left a comment

Copy link
Copy Markdown
Contributor

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 react: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