hyochan / react-native-masonry-list

The Masonry List implementation which has similar implementation as the `FlatList` in React Native
MIT License
393 stars 55 forks source link

Feature Request: Press Tab Bar Icon to Automatically Scroll to Top of Masonry List #64

Open Relie9828 opened 8 months ago

Relie9828 commented 8 months ago

Current problem

I often find myself at the bottom of a long masonry list while using the @react-native-seoul/masonry-list library. Currently, there is no quick way to navigate back to the top of the list without manually scrolling upwards. This can be quite frustrating for users who want to quickly navigate back to the top for any reason.

Solution

I would like to see a "Scroll to Top" feature implemented. Specifically, when a user is at the bottom of a scrollable masonry list and taps on the tab bar icon, the view should automatically scroll back to the top. This will make navigation much smoother and user-friendly.

Considered alternatives

  1. Implementing a dedicated "Scroll to Top" button: This could work but might clutter the UI.
  2. Using gesture-based navigation: Though intuitive, this might interfere with other gestures or functionalities.

Additional context

This feature is common in many apps and significantly improves user experience. It would be a valuable addition to the @react-native-seoul/masonry-list library.