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

fix: group clicks in action #3052

Merged
merged 4 commits into from
Jan 31, 2025
Merged

fix: group clicks in action #3052

merged 4 commits into from
Jan 31, 2025

Conversation

sadym-chromium
Copy link
Collaborator

@sadym-chromium sadym-chromium commented Jan 30, 2025

Attempt to address #3043.

Group clicks only in a single input.performActions.

@sadym-chromium sadym-chromium force-pushed the sadym/dblclick-test branch 2 times, most recently from 83a7dcf to e41ab46 Compare January 30, 2025 15:32
@sadym-chromium sadym-chromium requested a review from OrKoN January 31, 2025 10:49
@sadym-chromium sadym-chromium changed the title fix: support series of double clicks fix: group clicks in action Jan 31, 2025
@sadym-chromium sadym-chromium marked this pull request as ready for review January 31, 2025 10:51
@sadym-chromium sadym-chromium enabled auto-merge (squash) January 31, 2025 10:54
@sadym-chromium sadym-chromium merged commit c2d7fe3 into main Jan 31, 2025
50 checks passed
@sadym-chromium sadym-chromium deleted the sadym/dblclick-test branch January 31, 2025 11:06
*/
resetClickCount(): void {
this.#clickContexts = new Map<
number,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: you can just write :

this.#clickContexts = new Map()

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Double nit: this.#clickContexts.clear()?

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.

3 participants