Skip to content
This repository was archived by the owner on Jul 3, 2018. It is now read-only.
This repository was archived by the owner on Jul 3, 2018. It is now read-only.

Smooth scroll kicks in, despite grabbing and holding scrollbar with mouse or holding arrow keys for scrolling navigation #8

@Martin-Pitt

Description

@Martin-Pitt

Could resolve this via mousedown/mouseup and cancelling smooth scroll while mouse is held (e.g. user is directly interacting with page, probably very bad time to snap).

Also noticed this happens with keyboard navigation. Not as badly, but if you hold down right arrow key for example on coordinates.html, it will jump once and then start snapping back but then keyboard repeats kick in and you scroll right until as normal until you let go. So might need to check for keydown/keyup and arrow keys and if default functionality has not been suppressed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions