You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <ji...@apache.org> on 2014/12/24 01:36:13 UTC

[jira] [Closed] (TAP5-2162) Prevent default actions for DOM events using preventDefault() rather that stopping the events entirely

     [ https://issues.apache.org/jira/browse/TAP5-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAP5-2162.
--------------------------------------
    Resolution: Duplicate

> Prevent default actions for DOM events using preventDefault() rather that stopping the events entirely
> ------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-2162
>                 URL: https://issues.apache.org/jira/browse/TAP5-2162
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>    Affects Versions: 5.4
>            Reporter: Jochen Kemnade
>            Assignee: Howard M. Lewis Ship
>              Labels: dom, events, javascript, patch
>         Attachments: 0001-add-EventWrapper.preventDefault-and-use-it-to-preven.patch
>
>
> Currently, Tapestry returns {{false}} from many DOM event handlers. That prevents other handlers for the same event/element combinations from being called.
> The patch adds a preventDefault() method to EventWrapper and uses it instead of returning false.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)