[
https://issues.apache.org/jira/browse/WICKET-2056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667816#action_12667816
]
Zach Leatherman commented on WICKET-2056:
-----------------------------------------
Well, that may work, but is a little eager for my taste and may cause
unintended consequences, as the default value for position is "static". If
you're fine with all of the div's in your modal having position: relative, then
don't let me stop you.
If IE supported child selectors, you could do div.w_content > div, but alas it
does not.
This should probably added to an additional CSS class in the modal.css file,
and then the class added to the <div>.
Thanks,
Zach
> 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.