-
Notifications
You must be signed in to change notification settings - Fork 47.3k
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
[react-events] Tap support for virtual click #16755
[react-events] Tap support for virtual click #16755
Conversation
Details of bundled changes.Comparing: 3717c25...dca1a57 react-events
|
I can address this bug tomorrow. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. I'll look into the bug you found with the target types tomorrow.
b1fd4fe
to
dca1a57
Compare
I tweaked the patch so that it doesn't need root click events. I also realised that |
Closed in favor of #16780 |
A couple of issues:
This implementation can't be used to produce visual feedback as the entire sequence is flushed for the same event. We could wrap the "end" phase in a setTimeout to support this.
Changing thetargetEventTypes
to useclick
instead ofclick_active
results in noclick
event being dispatched toonRootEvent
, even thoughrootEventTypes
containsclick_active
.