Skip to content

Fix: on scroll search box to fix on top#5

Open
doppedheart wants to merge 2 commits into
code100x:mainfrom
doppedheart:main
Open

Fix: on scroll search box to fix on top#5
doppedheart wants to merge 2 commits into
code100x:mainfrom
doppedheart:main

Conversation

@doppedheart
Copy link
Copy Markdown

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

Comment thread app/screens/MyCoursesScreen.tsx Outdated
renderItem={renderCourses}
showsVerticalScrollIndicator={false}
/>
<ScrollView
Copy link
Copy Markdown
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
Copy Markdown
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