You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2013/11/14 23:23:21 UTC
[jira] [Commented] (WICKET-5379) IE7: AutoCompleteTextField inside
a ModalWindow shows auto complete dropdown behind ModalWindow
[ https://issues.apache.org/jira/browse/WICKET-5379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13823026#comment-13823026 ]
Andrea Del Bene commented on WICKET-5379:
-----------------------------------------
IE 7 has (of course...) a problem computing the z-index of an element if its parent has no z-index explicitly set. I've changed the code of modal.js to add "style='z-index: 20001'" to the container div (the one with class='w_content_container') if the browser is IE7. The value 20001 is the same taken from modal.css (see div.wicket-modal ). However, I don't know where this value comes from....
If anyone has a better idea please let me know.
> IE7: AutoCompleteTextField inside a ModalWindow shows auto complete dropdown behind ModalWindow
> -----------------------------------------------------------------------------------------------
>
> Key: WICKET-5379
> URL: https://issues.apache.org/jira/browse/WICKET-5379
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 6.9.1, 6.11.0
> Reporter: Alex Grant
> Assignee: Andrea Del Bene
> Fix For: 6.12.0, 7.0.0
>
> Attachments: WICKET-5379-6.12.0.zip, WICKET-5379-quickstart.zip
>
>
> Similar scenario to WICKET-5378 - Create a ModalWindow, add an AutoCompleteTextField. Use IE7 and open the ModalWindow. Enter text in the AutoCompleteTextField, and depending on the size of your ModalWindow you might not see anything, because the dropdown suggestions list appears behind the ModalWindow (the z-index is wrong).
> Although this bug is present in 6.11.0, my quickstart uses 6.9.1 because it is easier to see the bug there as WICKET-5378 obscures it in 6.11.0 by moving the dropdown suggestions far away from the ModalWindow. But if you want to see it in 6.11.0, change the wicket.version in the POM and resize the ModalWindow to be larger (so that it at least partically covers the area where the dropdown suggestions list appears).
--
This message was sent by Atlassian JIRA
(v6.1#6144)