pointer_events_polyfill icon indicating copy to clipboard operation
pointer_events_polyfill copied to clipboard

Clicks on LABEL's for radios and checkboxes weren't triggering, so I made some changes

Open dwoldrich opened this issue 11 years ago • 1 comments

Thanks for a nice polyfill, it gave me a lot to work with.

Not sure if you're interested in pull requests, but I made some changes to support clicks on LABEL tags associated with radios and checkboxes. For whatever reason, real clicks on the label bubble to the associated radio, but simulated clicks did not.

Also, I wasn't too keen on reusing the Event e and just changing the target the way you were doing, so I went ahead and did a weak little clone and triggered that.

dwoldrich avatar Jan 02 '14 23:01 dwoldrich

I have experience the same problem with <select> input but there is no solution at all. Open a <select> with javascript is only possible on WebKit Browser at this time. See http://stackoverflow.com/questions/16157459/how-to-open-select-element-using-jquery

HugoPoi avatar May 22 '14 14:05 HugoPoi