Skip to content
This repository was archived by the owner on Mar 23, 2026. It is now read-only.
This repository was archived by the owner on Mar 23, 2026. It is now read-only.

Arrow keys always move scrollbar #204

Open

Description

@partap

Whenever I use up or down arrow keys to navigate within a scrollable container, it moves the scroll bar, even if that means it scrolls the focused element out of the window.

I've even tried capturing the scroll event and calling preventDefault() on it, but nothing seems to make a difference.

Activity

  1. partap commented on Oct 9, 2019

    @partap
    Author

    Update... I found a jsbin example in #151 that doesn't display the scrolling behavior. It seems that it is using v1.1.0 of the polyfill rather than v1.2.0. I set the version to 1.1.0 in my project and now it seems to work ok too.

    ...so...bug, I guess?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions