You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Arnout Engelen (JIRA)" <ji...@apache.org> on 2008/04/08 14:31:26 UTC
[jira] Created: (WICKET-1497) viewport height not correctly
calculated on IE7
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
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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (WICKET-1497) viewport height not correctly
calculated on IE7
Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-1497.
-----------------------------------
Resolution: Cannot Reproduce
Assignee: Igor Vaynberg
could not reproduce this, might have been fixed with yui version upgrade
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-1497) viewport height not correctly
calculated on IE7
Posted by "Arnout Engelen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12589255#action_12589255 ]
Arnout Engelen commented on WICKET-1497:
----------------------------------------
It happened when I had a DateField near the bottom of the screen while showing a high page scrolled 'upwards'.
The popup was correctly moved upwards in firefox, but dropped 'down' in IE7. After some fiddling around I found out it was because the viewport-height was 'undefined'. This made the condition that checks whether the popup should be compensated vertically fail.
> 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
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (WICKET-1497) viewport height not correctly
calculated on IE7
Posted by "Gerolf Seitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12588844#action_12588844 ]
Gerolf Seitz commented on WICKET-1497:
--------------------------------------
can you describe what you do to get the popup to be positioned incorrectly?
i can't seem to get WicketDateTime.getViewportHeight() to return 'undefined'.
also, the changelogs of YAHOO.util.Dom don't mentioned that getViewportHeight was fixed.
> 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
>
> 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 is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.