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

Resolve content clipping inside Xcode detail view #539

Closed

Conversation

LiYanan2004
Copy link
Contributor

Problems

Inside Xcode's detail view, I noticed there is a hard clip, which is annoying to me 🤣.

Fix

Replace padding with contentPadding (custom modifier using safeArea) to avoid ScrollView's clipping.

Comparison

Screen.Recording.2024-03-18.at.10.07.31.mov

Much better.

@LiYanan2004
Copy link
Contributor Author

Not sure why the tests are failed. Seems to be okay.

@MattKiazyk
Copy link
Contributor

@LiYanan2004 thanks for your work on this. #540 implements the same margin fixes and includes others, so i'm going to merge that one it.

Thanks again!

@LiYanan2004
Copy link
Contributor Author

LiYanan2004 commented Mar 24, 2024

@MattKiazyk Looks good. But older OS deserves this margin as well because technically it's possible. So I implemented it again. Please check it out😁

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.

None yet

2 participants