Skip to content
This repository has been archived by the owner on Nov 22, 2023. It is now read-only.

Handle safe area bottom inset differently #3

Merged
merged 3 commits into from Aug 9, 2021

Conversation

digitalheir
Copy link
Contributor

@digitalheir digitalheir commented Aug 2, 2021

Fix for #2.

Putting a ScrollView in a bottom sheet caused the system to put the bottom of the content in the safe area, obscuring some content in many cases.

I guess that maybe specifying the padding(.bottom, geo.safeAreaInsets.bottom) to the content view could be the user's responsibility, because they might intend the view to bleed into the safe area. Maybe it should be an optional 'bleed' setting?

image

@danielsaidi
Copy link
Owner

Thanks for looking into this! I will have a look as soon as possible.

@danielsaidi danielsaidi merged commit 616ee1d into danielsaidi:master Aug 9, 2021
@danielsaidi
Copy link
Owner

Looks great, thank you for fixing this!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants