Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

After dragging knob with mouse, keyboard tap events will stop working on rest of page. #186

@shc023

Description

@shc023

Description

After dragging knob with mouse, keyboard tap events will stop working on rest of page.

Expected outcome

Dragging knob with mouse does not interfere with subsequent keyboard taps on the rest of the page.

Actual outcome

After dragging the knob with the mouse, the rest of the page will stop responding to keyboard taps.

Live Demo

https://jsfiddle.net/2q3fqehz/167/

Steps to reproduce

  1. Go to live demo above, click / tab focus to the button and press enter a few times, observer console says "tapped".
  2. Drag the knob with mouse (do not click anything else on the page after letting go)
  3. Tab one time to focus the button.
  4. Press enter a few times, notice that the console does not say "tapped" anymore.

Doing the following seems to un-break the page.
5. Mouse click on the button, observe that console says "tapped" again.
6. Press Enter while focus is on the button, observe that issue goes away and console says "tapped" again.

Browsers Affected

Chrome is affected, haven't tested on other browsers yet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions