Closed cmvanb closed 1 year ago
@cmvanb Thank you for reporting this issue. This seems to be related to the document.body.scrollHeight
used to get the heiht of the whole page. On the vimb page this is 0. For this document.documentElement.scrollHeight
would work but not for other sites like https://www.jetbrains.com/help/idea/shared-indexes.html
So I assume we should use morde js code to get the page height properly. I'll try to use following construction https://javascript.info/size-and-scroll-window#width-height-of-the-document
@cmvanb I use the more sophisticated approach to get the document length now.
Not sure if you wish to receive issues on the HTML documentation... anyways this was very confusing for a new user.
Steps to reproduce
Install vimb. Run vimb. Navigate to vimb manual at
https://fanglingsu.github.io/vimb/
. Note thatG
scrolls to top of page, not bottom.Expected behaviour
G
should scroll to bottom of page.Actual behaviour
G
scrolls to top of page on the vimb manual page. This must be an interaction between the vimb manual HTML and vimb, it works fine on other websites.