hometown/app/javascript/mastodon/components
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
..
__tests__ Surround mid-text display names with bdi tags (#6257) 2018-01-15 18:55:10 +01:00
account.js Fix #6128 - Display unfollow button even if account moved (#6258) 2018-01-15 18:42:15 +01:00
attachment_list.js Upgrade ESLint to version 4.x (#6276) 2018-01-17 16:57:15 +01:00
autosuggest_emoji.js Compress and combine emoji data (#5229) 2017-10-06 03:42:34 +02:00
autosuggest_textarea.js Implement tag auto-completion by history (#6621) 2018-03-04 20:27:25 +01:00
avatar_overlay.js Fix GIF avatars not autoplaying when GIF autoplay is enabled (#6000) 2017-12-13 12:14:03 +01:00
avatar.js Fix GIF avatars not autoplaying when GIF autoplay is enabled (#6000) 2017-12-13 12:14:03 +01:00
button.js Use Class and Property Decorators (#3730) 2017-06-23 19:36:54 +02:00
collapsable.js Upgrade ESLint to version 4.x (#6276) 2018-01-17 16:57:15 +01:00
column_back_button_slim.js fix ColumnBackButtonSlim should extended from ColumnBackButton (#6417) 2018-02-03 18:41:51 +01:00
column_back_button.js Improve accessibility (part 7) (#4457) 2017-07-31 00:18:15 +02:00
column_header.js Fix button hiding when header title is too long (#6406) 2018-02-01 17:17:17 +01:00
column.js Fix the usages of Detect Passive Events (#4749) 2017-08-31 11:20:54 +02:00
display_name.js Surround mid-text display names with bdi tags (#6257) 2018-01-15 18:55:10 +01:00
dropdown_menu.js Place dropdown menu top if it is closer to the bottom of the viewport (#6641) 2018-03-05 19:28:56 +01:00
extended_video_player.js [RFC] Improved media modal (#5956) 2018-03-04 20:32:24 +01:00
icon_button.js Upgrade ESLint to version 4.x (#6276) 2018-01-17 16:57:15 +01:00
intersection_observer_article.js Improve IntersectionObserverArticle perf (#5152) 2017-09-30 14:28:49 +02:00
load_more.js Fix invisible load more button (#4962) 2017-09-16 00:32:43 +02:00
loading_indicator.js Add loading indicator animation (#4316) 2017-07-23 20:28:18 +02:00
media_gallery.js Responsively enforce 16:9 ratio on all media thumbnails in web UI (#6590) 2018-03-02 07:00:04 +01:00
missing_indicator.js Fix home regeneration (#6251) 2018-01-17 23:56:03 +01:00
permalink.js Redesign the landing page, mount public timeline on it (#4122) 2017-07-11 15:27:59 +02:00
relative_timestamp.js Clear timer when unmounting RelativeTimestamp components (#5408) 2017-10-16 03:03:36 +02:00
scrollable_list.js Replace onScrollToBottom with onLoadMore (#6615) 2018-03-05 19:31:40 +01:00
setting_text.js Improve accessibility (part 3) (#4405) 2017-07-28 00:54:48 +02:00
status_action_bar.js Rename ariaLabel property of Dropdown to title (#5813) 2017-11-25 15:41:08 +01:00
status_content.js Fix unwanted content warning gap in CSS (#5436) 2017-10-17 20:07:44 +02:00
status_list.js Replace onScrollToBottom with onLoadMore (#6615) 2018-03-05 19:31:40 +01:00
status.js Federate pinned statuses over ActivityPub (#6610) 2018-03-04 09:19:11 +01:00