levito / tt-rss-feedly-theme

Feedly theme for Tiny Tiny RSS
MIT License
643 stars 76 forks source link

Article scrolling hotkeys not working #95

Closed lrsksr closed 3 years ago

lrsksr commented 3 years ago

The standard hotkeys for scrolling inside an article do not work:

Shift+Down Scroll down Shift+Up Scroll up N Scroll down page Shift+PgDn Scroll down page P Scroll up page Shift+PgUp Scroll up page

Cause

The element that gets the scroll event is selected by ID #content-insert in L443 and L446 of Article.js. In the original theme, the element is scrollable with the article header scrolling out of view when you use the hotkeys or the mouse wheel. The feedly theme keeps the header while scrolling and only the sub-sub-element #content is scrollable, not the parent. The wrong element gets the scroll event and thus nothing happens.

Thanks for looking into it!

levito commented 3 years ago

Hi @lrsksr, good catch, thanks for reporting this! Could you please check if it works now?

lrsksr commented 3 years ago

Wow, that was fast. I can confirm that it works now, thank you very much!