tootlab-mastodon/app/javascript/mastodon/features/notifications
Akihiko Odaki b0664a5e6c Replace onScrollToBottom with onLoadMore (#6615)
onScrollToBottom was a function to run instead of onScrollToTop and
onScroll when scrolling to the bottom. The behavior to prevent
onScrollToTop was inconvenient because the viewport can be at the bottom
and at the top at the same time if the viewport is larger than the
container.

onScrollToBottom was also called when the button to load more is clicked
on contray to the name suggests, which led notifications and
status_list_container components to mark the scrolled location is not at
the top mistakenly.

onLoadMore is a replacement for onScrollToBottom. It will be called
independently from onScrollToTop and onScroll.
2018-03-05 19:31:40 +01:00
..
components Surround mid-text display names with bdi tags (#6257) 2018-01-15 18:55:10 +01:00
containers Rename key to path in actions and reducers for settings (#6105) 2018-01-02 13:50:54 +01:00
index.js Replace onScrollToBottom with onLoadMore (#6615) 2018-03-05 19:31:40 +01:00