Skip to content

Replace virtual scoller with dynamic one #2

@baterflyrity

Description

@baterflyrity

Hi. Firstly want to thank for this very useful extension as Ive migrated from Yandex to Mozilla. Hope no recent updates mean that nothing left to improve but discontinued.

Actual behavior

Unfortunately the algorithm is based on second virtual scroll. So pressing button results just in switching between first and second scrolls. Moreover when one scrolls after pressed button and then press again position is changed to previous but page top.

preview

Expected behavior

So I guess that in case I want to scroll again starting from top it should clear previously buffered scroll position.

Here it should be something like this:

if (window.scrollX * 2 < document.documentElement.clientWidth && window.scrollY * 2 < document.documentElement.clientHeight) //on page's top action
else //somewhere scrolled action

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions