+ Daniel, who is the expert :) I believe the primary difference is how/when on-click fires on touch devices. on-click won't fire if any of the following are true: 1. The element directly under the finger does not have a mouse handler 2. You scroll 3. Another finger is touching the screen
On Tue, Sep 2, 2014 at 12:34 PM, Matt Bourne <[email protected]> wrote: > Think I may have run into an issue with on-tap > > What seems to be happening id if I try to trigger a firebase simple login > using a 3rd party provider the pop-ups are being blocked by the browser. > > Doing a little bit of research it seems like browsers want pop-ups to be > triggered by on-click events. If I change the trigger to an on-click the > pop appears as expected without a warning. > > Can anyone confirm this and also help me understand what I might lose by > changing this button to an on-click from an an on-tap? > > > >> <paper-button hidden?="{{user}}" label="Login with Google" >> on-click="{{handleLogin}}"></paper-button> > > 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/415b1707-65da-479c-9e11-1b601a6f95d3%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/415b1707-65da-479c-9e11-1b601a6f95d3%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/CAJj5OwDqCeuEKa7wmxhRNFKsGXd0h07q29GG2sGN4-EgO3WfFQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
