-
Notifications
You must be signed in to change notification settings - Fork 64
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
on-tap handlers sometimes can't .click() a related input #112
Comments
@FLamparski What "touchscreen PC" are you using (e.g. Surface Pro with Windows 10, or Chromebook Pixel), and is this Chrome only, or does it happen in IE/Edge/Firefox as well? |
Hi, I'm using an older Dell XPS 15 with Ubuntu. Tested with Chrome beta and On Fri, 15 Apr 2016 23:11 Keanu Lee, [email protected] wrote:
|
I wonder if there's some restriction that blocks |
Please look at the second codepen linked, which tries to make such explorations |
Due to my lack of access to such hardware, I am unable to reproduce this. If someone else can look into this it would be greatly appreciated. |
Description
When using the
tap
event and tapping the button on a touchscreen PC, a linked file input is not triggered. This happens both inside a custom component and outside of it.Expected outcome
Normally, the event handler should be able to trigger a file input to show the file browser from both a click and touch event.
In the first demo, tapping the paper-button should trigger the file browser twice because both click and tap are bound.
Actual outcome
In a component, a tap does not trigger the file input even though the event handler runs. In the first demo, a tap does not trigger the file input even though the click does.
Oddly enough Android is not affected by this.
Live Demo
Demo 1: http://codepen.io/FLamparski/pen/reJqwm
Additional things I tried when trying to isolate the bug (all trigger the file input): http://codepen.io/FLamparski/pen/MyVKVN
Steps to reproduce
on-tap
event or bind to itsclick
andtap
eventsBrowsers Affected
The text was updated successfully, but these errors were encountered: