Skip to content
Snippets Groups Projects
  1. Mar 09, 2018
  2. Mar 08, 2018
  3. Mar 07, 2018
  4. Mar 06, 2018
  5. Mar 05, 2018
    • Eugen Rochko's avatar
    • Akihiko Odaki's avatar
      Replace onScrollToBottom with onLoadMore (#6615) · b0664a5e
      Akihiko Odaki authored
      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.
      b0664a5e
Loading