tootlab-mastodon/app/javascript/mastodon/features/ui/containers
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
..
bundle_container.js Lazy load components (#3879) 2017-07-08 00:06:02 +02:00
columns_area_container.js Make columns-area unscrollable when modal opened (#6241) 2018-01-15 06:51:00 +01:00
loading_bar_container.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
modal_container.js Improve eslint rules (#3147) 2017-05-20 17:31:47 +02:00
notifications_container.js Remove unused variables (#3906) 2017-06-23 16:05:04 +02:00
status_list_container.js Replace onScrollToBottom with onLoadMore (#6615) 2018-03-05 19:31:40 +01:00