ttrss/js
Anders Kaseorg 5c145bde7a Make the floating title transition smoother
Previously the floating title would not appear until the real title
scrolled entirely out of view, which was visually distracting.  Now it
appears at the point when its bottom lines up with the real title’s
bottom.  This isn’t perfect yet due to small differences between the
two titles’ layouts, but it’s much closer.

We now need to use visibility: visible|hidden instead of display:
block|none to show and hide the floating title, in order to be able to
retrieve its height while it’s hidden.  It’s important to use that
height because occasionally line wrapping differences make the
floating title shorter than the real title, and we don’t want the real
title to poke out from underneath.

Also fix scrollToRowId to offset by the 4 pixel top margin (like
cdmScrollToArticleId already does), so that it goes back to a point
when the floating title was hidden; and set the right margin on the
floating title so that it’s the same width as the real title and
doesn’t overlap the scroll bar.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2015-01-30 21:58:44 -05:00
..
FeedTree.js Skip nested Feed when calling getNextUnreadFeed() 2014-06-14 12:37:05 +02:00
PluginHost.js add js hook for floating title 2013-06-28 08:30:35 +04:00
PrefFeedTree.js apply special feedTree styles only to main UI feedtree, fix feedParam and filterParam screwing with tree node layout 2013-06-07 10:01:11 +04:00
PrefFilterTree.js expand filtertree display to make filters easier to distinguish 2014-04-02 08:15:33 +00:00
PrefLabelTree.js integrate silk icons by Mark James 2013-07-10 13:09:12 +04:00
deprecated.js overall directory tree cleanup 2011-12-11 23:59:25 +04:00
feedlist.js loadMoreHeadlines: use shorter syntax for adaptive offset calculation 2013-09-01 14:07:31 +04:00
functions.js notify fixes 2014-11-09 20:31:29 +03:00
index.html block listing of several util directories; deny access to config.php 2013-04-11 22:01:10 +04:00
prefs.js share: move unsharing all articles into the plugin 2013-07-11 14:11:41 +04:00
tt-rss.js hotkey actions: toggle_expand, collapse_article: check if element exists 2014-10-26 10:25:19 +04:00
viewfeed.js Make the floating title transition smoother 2015-01-30 21:58:44 -05:00