Yeah that solved the issue for me. In fact, I tried with touch-action="auto" with Polymer#0.3.1 and that worked too. Not sure what I missed earlier.
Thanks Daniel for your help!! On Sun, Jun 8, 2014 at 1:58 PM, Daniel Freedman <[email protected]> wrote: > I'm pretty sure this is a regression caused by > https://github.com/Polymer/polymer-gestures/commit/6379ad4dc32d8af192f987d1c4f7bb5f22cde534 > . > > In the absence of touch listeners (which are added by setting the > touch-action attribute), iOS safari uses the presence of mouse listeners on > the target node to determine if events should be sent. > > Setting mouse listeners in firefox makes screen readers report all polymer > elements as "clickable", which is very annoying. > > I have an idea to use the presence of gesture event listeners to add touch > and mouse events to satisfy both constraints, but I need a bit more time to > play with them. > > In the meantime you can set touch-action="auto" on <body> and that should > at least get you all the events. > > > On Sat, Jun 7, 2014 at 6:40 PM, Akhilesh <[email protected]> wrote: > >> I tried with touch-action too, but still no event callback. Is this >> working for you guys? >> BTW, I never had to specify the touch-action with Polymer#0.2.4 and it >> used to work fine. >> >> >> On Fri, Jun 6, 2014 at 7:37 PM, Daniel Freedman <[email protected]> >> wrote: >> >>> Please make sure you have touch-action attribute set. >>> On Jun 6, 2014 5:40 PM, "Akhilesh" <[email protected]> wrote: >>> >>>> I took the master branch and tested the fix to this issue. >>>> Unfortunately, the events are still not getting triggered on iOS Safari. >>>> >>>> On Friday, June 6, 2014, Daniel Freedman <[email protected]> wrote: >>>> >>>>> I'm pretty sure this is related to >>>>> https://github.com/Polymer/ShadowDOM/issues/452 >>>>> On Jun 6, 2014 8:48 AM, "Eric Bidelman" <[email protected]> wrote: >>>>> >>>>>> +daniel >>>>>> >>>>>> >>>>>> On Thu, Jun 5, 2014 at 11:51 PM, <[email protected]> wrote: >>>>>> >>>>>>> Try out this sample on iOS Safari: http://jsbin.com/poracihi/2/edit >>>>>>> >>>>>>> The "tap" event is getting triggered on all other desktop and >>>>>>> android browsers. >>>>>>> >>>>>>> Follow Polymer on Google+: plus.google.com/107187849809354688692 >>>>>>> --- >>>>>>> You received this message because you are subscribed to the Google >>>>>>> Groups "Polymer" group. >>>>>>> To unsubscribe from this group and stop receiving emails from it, >>>>>>> send an email to [email protected]. >>>>>>> To view this discussion on the web visit >>>>>>> https://groups.google.com/d/msgid/polymer-dev/136b7b0b-41bd-4e19-8827-18832979cbf4%40googlegroups.com >>>>>>> <https://groups.google.com/d/msgid/polymer-dev/136b7b0b-41bd-4e19-8827-18832979cbf4%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> >> > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CAJGcB38_emw1NkBDyacC27x4KrzEcVubM3hBRVspqgTt0rTMQA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
