You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Neil Bennett (JIRA)" <ji...@apache.org> on 2014/04/03 20:41:15 UTC

[jira] [Created] (WICKET-5552) Events to close pop-up on Modal Window are not propagated

Neil Bennett created WICKET-5552:
------------------------------------

             Summary: Events to close pop-up on Modal Window are not propagated
                 Key: WICKET-5552
                 URL: https://issues.apache.org/jira/browse/WICKET-5552
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 6.14.0
         Environment: Windows/Eclipse/JRE7
            Reporter: Neil Bennett


When using a field on a modal window that shows a pop-up window, like a time picker, when clicking outside of the pop-up window but over the modal window, mousedown/click events are not propagated. Clicks outside of the modal window are propagated.

This is due to Wicket.Event.stop(event) being called on mousedown on the w_content_1 component. Removal of this leads to the Drag javascript being executed which itself calls Wicket.Event.stop(event), disabling this then propagates the event which leads to the pop-up window being closed but causes any field on the modalwindow to get focus.

I have a quickstart that demonstrates the modalwindow behavior vs that on a page.





--
This message was sent by Atlassian JIRA
(v6.2#6252)