You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Joel Hill (JIRA)" <ji...@apache.org> on 2009/01/27 19:27:02 UTC
[jira] Commented: (WICKET-2056) Modal CSS Overflow Auto Bug
[ https://issues.apache.org/jira/browse/WICKET-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667747#action_12667747 ]
Joel Hill commented on WICKET-2056:
-----------------------------------
I just ran into this same issue, and using your suggestion, I created a workaround:
public class MyModalWindow extends ModalWindow implements IHeaderContributor {
. . . . .
public void renderHead(IHeaderResponse response) {
response.renderString("<style type=\"text/css\">div.w_content div {position:relative;}</style>");
}
}
> Modal CSS Overflow Auto Bug
> ---------------------------
>
> Key: WICKET-2056
> URL: https://issues.apache.org/jira/browse/WICKET-2056
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Environment: Internet Explorer 6 and 7
> Reporter: Zach Leatherman
> Assignee: Matej Knopp
> Priority: Trivial
> Original Estimate: 0.5h
> Remaining Estimate: 0.5h
>
> To duplicate the issue, create a panel wicket modal with the following content that has enough content to trigger an overflow:
> <br/><br/><br/><br/><br/><br/><br/><br/><br/> (etc.)
> <div style="position: relative">Relative</div>
> Then try scrolling in IE6 or IE7. The relative div will remain in a fixed position.
> See the following for a description of the bug.
> http://rowanw.com/bugs/overflow_relative.htm
> On the first child div below div.w_content, there should be a style declaration assigned to the child div that contains "position: relative;" For example,
> <div id="GENERATED_WICKET_ID" style="overflow: auto; height: 400px; position: relative">
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.