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

[native-stack] Large title scrolls completely wrong #320

Closed
iduuck opened this issue Feb 11, 2020 · 8 comments
Closed

[native-stack] Large title scrolls completely wrong #320

iduuck opened this issue Feb 11, 2020 · 8 comments
Labels
Area: Native Stack Area: ScrollView Issue related to integration between library and ScrollView component Bug Something isn't working Platform: iOS This issue is specific to iOS

Comments

@iduuck
Copy link

iduuck commented Feb 11, 2020

Hey guys, I wanted to implement React-Navigation v5 into my project, but now found an issue, which is very huge. I also found some bugs regarding this one.

Referenced here:

I think both questions on SO have described the issue properly, so I don't need to redescribe here, but yeah. I have this issue right now.

@iduuck
Copy link
Author

iduuck commented Feb 11, 2020

@iduuck
Copy link
Author

iduuck commented Mar 6, 2020

Wow, still no update?

@iduuck iduuck changed the title Large title scrolls completely wrong [native-stack] Large title scrolls completely wrong Mar 6, 2020
@WoLewicki WoLewicki added the Platform: iOS This issue is specific to iOS label Apr 15, 2020
@WoLewicki WoLewicki added Bug Something isn't working Area: ScrollView Issue related to integration between library and ScrollView component labels Aug 6, 2020
@WoLewicki
Copy link
Member

You should use headerTranslucent: true and contentInsetAdjustmentBehavior prop set to "automatic" on your ScrollView component. Setting it should make the ScrollView with largeHeader behave the way it was designed by Apple. Does it solve your issue?

@WoLewicki
Copy link
Member

I am closing this issue since it should be resolved. Feel free to comment if something is wrong.

@zachgibson
Copy link

#320 (comment) fixed it for me.

@Evan-Younan
Copy link

Evan-Younan commented Jun 21, 2021

@WoLewicki Does this actually work properly with a FlatList? It works fine with a ScrollView but as soon as I introduce a FlatList, it does not scroll to the top properly.

@WoLewicki
Copy link
Member

@Evan-Younan provide a reproduction where it does not work for you so we can elaborate on it.

@guiccbr
Copy link

guiccbr commented Aug 20, 2021

Did anyone notice that if bounces={false} the large header never gets back after being collapsed for the first time? This should be easy to reproduce in the latest versions of the libs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: Native Stack Area: ScrollView Issue related to integration between library and ScrollView component Bug Something isn't working Platform: iOS This issue is specific to iOS
Projects
None yet
Development

No branches or pull requests

5 participants