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: on scroll search box to fix on top #5

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

doppedheart
Copy link

Minor ui fix

on scroll the header section will scroll to top and search bar will be fixed on top

To test

Open the app, on home screen try to scroll the search bar will fix on top

Screen Recording

cms-search-bar.recording.mp4

renderItem={renderCourses}
showsVerticalScrollIndicator={false}
/>
<ScrollView
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of using a scrollview, try using the ListView StickyHeaderComponent prop for this feat, its a good feature to have.

@doppedheart
Copy link
Author

Screen Recording

scrollToTop.mp4

let me know if any changes it requires in code refactoring happy to solve it asap.

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.

2 participants