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

header not touch #7

Open
songxiaoliang opened this issue Sep 2, 2020 · 11 comments
Open

header not touch #7

songxiaoliang opened this issue Sep 2, 2020 · 11 comments

Comments

@songxiaoliang
Copy link

header not touch, i need scroll to touch header

@JungHsuan
Copy link
Owner

hi @songxiaoliang, Do you mean header is not scrollable?
if so, I have a version of scrollable header, but the performance is not quite well on Android.

@songxiaoliang
Copy link
Author

@JungHsuan Yes, a large part of the area above my TabBar is the Header, but when the area is large, the height of the header may be larger than the mobile phone screen in extreme cases. At this time, there is no way to touch and slide, because there is no way in the heap area. Trigger sliding operation

@JungHsuan
Copy link
Owner

OK, I will create a new branch for a scrollable-header solution.

@songxiaoliang
Copy link
Author

@JungHsuan That's really great, I look forward to it, thank you

@songxiaoliang
Copy link
Author

@JungHsuan Hello, is there any new progress

@JungHsuan
Copy link
Owner

@songxiaoliang
hi, sorry for my late update.
I simply wrote an example of scrollable header.
Please check the file headerScrollableDemo.js.

@songxiaoliang
Copy link
Author

@JungHsuan Great, very happy and thankful, I go to practice, communicate at any time, thank you again

@sanbat
Copy link

sanbat commented Oct 2, 2020

How to use ScrollView instead of FlatList in headerScrollableDemo.js

@JungHsuan
Copy link
Owner

@sanbat Hi, you need to replace scrollToOffset to scrollTo.

@sanbat
Copy link

sanbat commented Oct 11, 2020

@JungHsuan Thanks a lot.. Its working

@kiwina
Copy link

kiwina commented Nov 25, 2020

Nice example! like to point out that the content over scrolls below the tab bar. you cannot notice it when the list is large but if you change it to say 4 elements, you will see it

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

No branches or pull requests

4 participants