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

fix(722): revert not working back navigation gesture in favour of PagerView inside ScrollView #933

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

Conversation

MateWW
Copy link
Contributor

@MateWW MateWW commented Nov 27, 2024

Summary

Resolves #722!

Issue

Currently scroll over legacy pager view is not working while nested inside scroll view.
Nesting might be necessary while we have big header which you don't want to be visible while you are swiping pages.

Root cause

The issue arise with 6.2.0 version and support for navigate back gesture.

Solution

I've tested that navigate back gesture and it didn't worked for me as you may see on attached video.
I've also checked if basic react native ScrollView supports that for horizontal mode and it's not.
Based on all above I believe it's not worth to block users and I reverted that change.
I think we can revisit that use case later and fix that long living regression.

Test Plan

Architecture Before After
Fabric
2-pager-view-bug-fabric-ios.mp4
2-pager-view-fix-fabric-ios.mp4
Paper
2-pager-view-bug-paper-ios.mp4
2-pager-view-fix-paper-ios.mp4

Compatibility

OS Implemented
iOS
Android

Checklist

  • I have tested this on a device and a simulator

@MrRefactor MrRefactor self-assigned this Nov 28, 2024
@MrRefactor
Copy link
Collaborator

@MateWW please update recordings as we dont use next implementation anymore.

@MrRefactor MrRefactor self-requested a review November 28, 2024 08:10
@troZee troZee changed the title fix(#722): revert not working back navigation gesture in favour of Pa… fix(722): revert not working back navigation gesture in favour of PagerView inside ScrollView Nov 28, 2024
@troZee
Copy link
Member

troZee commented Nov 28, 2024

@kkafar could you check, if this change is still needed to react-native-screens?

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.

6.2.0 breaks vertical scrolling of ScrollView parent
3 participants