[
https://issues.apache.org/jira/browse/WICKET-6601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16660574#comment-16660574
]
Marco Hes commented on WICKET-6601:
-----------------------------------
Thanks for the quick response! But there is still no difference. The mousedown
is still not received by parent elements. The Wicket.Event.stop(e); you removed
has no effect, the _return false;_ in the mouseDownHandler will execute a
preventDefault() as well as a stopPropagation(). Because the handler is
registered in jQuery, this is what jQuery does with the _return false_ in the
handler. Removing the return will propagate the event, but breaks the dragging
functionality.
We use the Modal extensively in our application, any help would be highly
appreciated.
> Events to close pop-up on Modal Window are not propagated from caption bar
> --------------------------------------------------------------------------
>
> Key: WICKET-6601
> URL: https://issues.apache.org/jira/browse/WICKET-6601
> Project: Wicket
> Issue Type: Improvement
> Components: wicket-extensions
> Affects Versions: 7.0.0, 8.1.0, 8.2.0
> Reporter: Marco Hes
> Assignee: Sven Meier
> Priority: Minor
> Fix For: 8.2.0, 9.0.0
>
>
> Even after the fix from WICKET-5552, this issue still exists when clicking on
> the caption bar. I use select2 from wicktstuff in a modal window. When the
> select2 dropdown is opened and the modal window is closed, the dropdown stays
> open afterwards. Also when the dropdown is open and the modal is dragged, the
> dropdown stays open and doesn't move along. I believe The click event is not
> propagated, so select2 doesn't close the dropdown.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)