Skip to content

Jumping behavior when scroll view is set to ignoreSafeArea() #6

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AndrewSB
Copy link

@AndrewSB AndrewSB commented Mar 13, 2025

thank you for all your work on this @muukii!

i found weird behavior when using this in conjunction with .ignoresSafeArea(): there seems to be something in ScrollView that makes it so if you start panning down while the scroll view is in the safe area, the pan doesn't apply until the distance has extended past the safe area

you can see it in this Example project i've created, for the first ~50px of drag down, the scroll view doesn't move. ideally, it would track the pan translation smoothly

RocketSim_Recording_iPhone_16_Pro_6.3_2025-03-12_22.26.51.mp4

let me know if my example isn't clear. happy to add more detail

@AndrewSB AndrewSB changed the title adds Example Jumping behavior when scroll view is set to ignoreSafeArea() Mar 13, 2025
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.

1 participant