goread icon indicating copy to clipboard operation
goread copied to clipboard

Using j/k view (sometimes) doesn't skip to beginning of article.

Open klokop opened this issue 12 years ago • 5 comments

Before pressing j screen shot 2013-07-31 at 8 30 35 pm

View, after pressing j screen shot 2013-07-31 at 8 30 40 pm

Expected to see after pressing j screen shot 2013-07-31 at 8 35 05 pm

klokop avatar Jul 31 '13 18:07 klokop

I think this might be related to #193

tklovett avatar Aug 01 '13 00:08 tklovett

Tell me if this continues to happen. The commit from #193 may have fixed it. Checking for JS errors would also be helpful.

madelynnblue avatar Aug 01 '13 06:08 madelynnblue

Still happening (seem to be no JS errors)

klokop avatar Aug 01 '13 12:08 klokop

I can confirm this still happens with no javascript errors reported. I have also noticed the following that may help resolve this.

  • Seems to work fine when viewing a specific RSS feed, but not after the first 20 or so articles
  • When viewing a feed group/folder it happens right away
  • I am using opts.expanded view
  • The content section of each feed seems to auto-expand when focused which may affect the jump's offset
  • Not all the content is rendered in the next article which also causes the height to be recalculated
  • Sometimes - no pattern noted - it will jump to the article's top and then back up a seemingly random number of articles
  • Does not appear to be an issue with !opts.expanded.

Hope this helps

strickdd avatar Aug 05 '13 13:08 strickdd

Also, this happens when using the up down buttons in the navigation at the top of the site. It is not isolated to j/k shortcuts.

strickdd avatar Aug 05 '13 13:08 strickdd