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

Bug: Rapid click fails to catch the onClick event properly #28626

Closed
qkrdmstlr3 opened this issue Mar 25, 2024 · 2 comments
Closed

Bug: Rapid click fails to catch the onClick event properly #28626

qkrdmstlr3 opened this issue Mar 25, 2024 · 2 comments
Labels
Resolution: Stale Automatically closed due to inactivity Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@qkrdmstlr3
Copy link

React version: 18.2.0

Steps To Reproduce

  1. Open the address attached below in the mobile iOS environment
  2. Touch the red and green boxes quickly and repeatedly

Link to code example: https://stackblitz-starters-3edcyj.stackblitz.io/

The current behavior

I think the issue reported here(#22521) is still happening. If you click the red and green boxes listed vertically and quickly, the green box's onClick event is ignored and the red onClick event is called twice. However, using the onTouchEnd event instead of the onClick event does not cause any problems.

As reported in the issue(#22521), the onClick event works normally in the vanilla js environment.
Thank you for taking a look :)

RPReplay_Final1711377319.MP4

The expected behavior

The onClick event of an element clicked by the user must be called correctly. Thank you!

@qkrdmstlr3 qkrdmstlr3 added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Mar 25, 2024
Copy link

This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment!

@github-actions github-actions bot added the Resolution: Stale Automatically closed due to inactivity label Jun 23, 2024
Copy link

Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please create a new issue with up-to-date information. Thank you!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Stale Automatically closed due to inactivity Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug
1 participant