Skip to content

fix: add missing case in Dom.isSingleLeftClick for Mac trackpad - #9218

Closed
lynvortex wants to merge 1 commit into
videojs:mainfrom
lynvortex:fix-isSingleLeftClick-missing-case
Closed

fix: add missing case in Dom.isSingleLeftClick for Mac trackpad#9218
lynvortex wants to merge 1 commit into
videojs:mainfrom
lynvortex:fix-isSingleLeftClick-missing-case

Conversation

@lynvortex

Copy link
Copy Markdown

Fix #7736

On Mac trackpad, tapping may produce mousedown event with button=0 and buttons=1,
which was not handled by isSingleLeftClick. This causes multiple taps needed to
interact with the seek bar and volume control.

Add explicit check for this case to return true.

Fix #7736

On Mac trackpad, tapping may produce event with button=0 and buttons=1,
which was not handled by isSingleLeftClick. Add explicit check for this case.
@lynvortex lynvortex closed this by deleting the head repository Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing case in Dom.isSingleLeftClick

1 participant