1
0
Fork 0
forked from fedi/mastodon
mastodon/app
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
..
chewy Full-text search for authorized statuses (#6423) 2018-02-09 23:04:47 +01:00
controllers Redirect from Web tag timeline to public tag timeline if not signed in (#6633) 2018-03-05 19:29:36 +01:00
helpers Do not default site_title with site_hostname in InstanceHelper (#6624) 2018-03-04 20:29:49 +01:00
javascript Replace onScrollToBottom with onLoadMore (#6615) 2018-03-05 19:31:40 +01:00
lib Federate pinned statuses over ActivityPub (#6610) 2018-03-04 09:19:11 +01:00
mailers Account archive download (#6460) 2018-02-21 23:21:32 +01:00
models Provide default OTP_SECRET value for development environment (#6617) 2018-03-04 20:28:24 +01:00
policies Account archive download (#6460) 2018-02-21 23:21:32 +01:00
presenters Redesign landing page (again) (#6486) 2018-02-22 01:03:48 +01:00
serializers Do not fetch environment variables to determine default locale (#6618) 2018-03-04 10:00:46 +01:00
services Federate pinned statuses over ActivityPub (#6610) 2018-03-04 09:19:11 +01:00
validators Validation of count works even when text of status is nil (#6429) 2018-02-04 12:32:41 +01:00
views Fix #6611: Typo in change password template (#6616) 2018-03-04 10:00:24 +01:00
workers Federate pinned statuses over ActivityPub (#6610) 2018-03-04 09:19:11 +01:00