 
       onTap: (e) ->
         @props.onTap e if @props.onTap
-        if e.target.tagName == 'A'
-          # Routing can change whole UI, therefore we have to ignore
-          # subsequent click on any shown element to prevent accidental
-          # action like focus.
-          @showCoverTemporarily_()
+        @showCoverTemporarily_()
+        if @getDOMNode().tagName == 'A'
           @delegateAnchorTapToRoutingClickHandler_ e
         return
 

    React.createFactory React.createClass

      render: ->
        React.createElement tag, @props

      componentDidMount: ->
        # Undefined at server side, so do nothing.

goog.provide 'app.react.Gesture'

goog.require 'goog.dom.classlist'
goog.require 'goog.object'

class app.react.Gesture

  ###*
    Helper for github.com/Polymer/polymer-gestures.
    Example: {a, span, button} = gesture.none 'a', 'span', 'button'
    TODO: Move to este-library. Check if tap can safely stop scroll momentum.
    @param {este.events.RoutingClickHandler} routingClickHandler
    @constructor
    @final
