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

chore(demo): improve loading views #1107

Merged
merged 7 commits into from
Mar 4, 2025
Merged

Conversation

hgray-instawork
Copy link
Collaborator

@hgray-instawork hgray-instawork commented Mar 3, 2025

Resolving several visual quirks with Hyperview demo:

  • Updated demo loading screen background to white
  • Removed title from loading screens
  • Setting a top padding to reduce screen jumping down after render
Before After
before-navigate after-navigate
before-new after-new

Asana

@hgray-instawork hgray-instawork requested a review from a team March 4, 2025 00:20
demo/App.tsx Outdated
@@ -49,6 +49,7 @@ export default () => (
paddingBottom: insets?.bottom,
paddingLeft: insets?.left,
paddingRight: insets?.right,
paddingTop: Platform.OS === 'ios' ? insets?.top : 0,
Copy link
Collaborator

Choose a reason for hiding this comment

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

does this cause issues on Android?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Android didn't show the same jumping and it seems to be pushing the UI down lower than it needs to be. I was getting a value of around 25 for the top on Android simulator.

Copy link
Collaborator

Choose a reason for hiding this comment

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

ok, it would be worth adding a comment about this for future reference

@hgray-instawork hgray-instawork merged commit 8b37429 into master Mar 4, 2025
6 checks passed
@hgray-instawork hgray-instawork deleted the hardin/demo-loaders branch March 4, 2025 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants