Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.md #38640

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Update index.md #38640

wants to merge 1 commit into from

Conversation

simon-glitch
Copy link

describe in more detail what triggers a "click" event, since the user can move their mouse around between the "mousedown" and "mouseup" events and the "click" event will still trigger

Motivation

It is helpful for other developers to know that the user can move their mouse around during the process of "clicking" an element. Developers can also take advantage of this functionality since the click event will automatically trigger on the shared parent of the starting and ending elements. This could also alleviate any confusion developers might have if click events are triggering on their webpage when they don't think they should be.

describe in more detail what triggers a "click" event, since the user can move their mouse around between the "mousedown" and "mouseup" events and the "click" event will still trigger
@simon-glitch simon-glitch requested a review from a team as a code owner March 14, 2025 18:48
@simon-glitch simon-glitch requested review from wbamberg and removed request for a team March 14, 2025 18:48
@github-actions github-actions bot added Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed labels Mar 14, 2025
Copy link
Contributor

Preview URLs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:WebAPI Web API docs size/xs [PR only] 0-5 LoC changed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant