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

[ possible ] Bug: Failing catching rapid clicking events on iOS 15? #22521

Closed
mark-night opened this issue Oct 6, 2021 · 7 comments
Closed
Labels
Resolution: Stale Automatically closed due to inactivity Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug

Comments

@mark-night
Copy link

React version:
v17.0.2

Steps To Reproduce

  1. Simple clicking event handling.
  2. Rapid click on iOS 15 or later.

Link to code example:
A simplified example to play with.
Just open the link on an iPhone upgraded to iOS 15 or later, and try rapid clicking letters to see the issue, some clicks are not handled without any feedback. (Rapid clicking on the same letter doesn't seem to have the issue.)

In comparison, this is the same app with vanilla javascript, this works just fine without any issue. (So I'm guessing this might be ReactJS related.)

The current behavior

Rapid clicking on DOM elements, not all clicks are caught and handled. ONLY ON IOS 15 OR LATER.

I've posted this on stackoverflow too. Not sure if this is a ReactJS bug, or just Apple messed things again.

Any suggestions where to look to find a fix? Thanks.

@mark-night mark-night added the Status: Unconfirmed A potential issue that we haven't yet confirmed as a bug label Oct 6, 2021
@SubhayanDas08
Copy link

Please assign me this issue

@mark-night
Copy link
Author

@SubhayanDas08 Hi, thanks for checking into this. What I should do to "assign" the issue to you?

I also posted this question on stackoverflow, there is no any response/confirm so far. I even doubted could it be my miss-understanding on how to use React event listener setup. I reviewed my example codes, really couldn't discover anything suspicious.

What's sad is I don't even have a clue where/how to start investigating this issue, as it seems only happen on iPhone browsers, (possible iPad as well but I don't have an iPad to test with), while on desktop, it seems to work just fine. (Well, I'm not very sure if it's fine on desktop, because it's possible that by clicking with a mouse, it's hard to do a "rapid click", so it's hard to be revealed if it has issue too...)

I do need to mention though, per my observation, this only happens on iPhone upgraded to iOS 15 or later. I'm guessing there are some changes in iOS 15 that don't work well with React JS...

@stale
Copy link

stale bot commented Jan 8, 2022

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!

@stale stale bot added the Resolution: Stale Automatically closed due to inactivity label Jan 8, 2022
@DomMorello
Copy link

bump

@stale stale bot removed the Resolution: Stale Automatically closed due to inactivity label Mar 26, 2024
@lucas0530
Copy link
Contributor

bump

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 24, 2024
Copy link

github-actions bot commented Jul 1, 2024

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 Jul 1, 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
4 participants