[ https://issues.apache.org/jira/browse/WICKET-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13883999#comment-13883999 ]
Antti Lankila commented on WICKET-1497: --------------------------------------- I'm seeing this issue. The culprit appears to be this code in wicket-date.js: } else if (document.documentElement && document.documentElement.clientHeight) {// IE 6 strict mode viewPortHeight = document.documentElement.height; Observe that it tests presence of clientHeight but now accesses height. This causes the return of undefined on IE8 at the very least on an application I'm working with. > viewport height not correctly calculated on IE7 > ----------------------------------------------- > > Key: WICKET-1497 > URL: https://issues.apache.org/jira/browse/WICKET-1497 > Project: Wicket > Issue Type: Bug > Components: wicket-datetime > Affects Versions: 1.3.3 > Reporter: Arnout Engelen > Assignee: Igor Vaynberg > > I noticed the vertical positioning of the popup isn't corrected properly > under IE7. > Digging in the code, I found that Wicket.DateTime.getViewportHeight() returns > 'undefined' under IE7. This is a hack to work around an old problem in the > standard YAHOO.util.Dom.getViewportHeight();. > It seems the hack is now broken, and the standard > YAHOO.util.Dom.getViewportHeight(); has since been fixed: after replacing > Wicket.DateTime.getViewportHeight() with YAHOO.util.Dom.getViewportHeight(); > it now works fine under both IE and FF again. -- This message was sent by Atlassian JIRA (v6.1.5#6160)