[
https://issues.apache.org/jira/browse/TOMAHAWK-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12490634
]
Matt Raible commented on TOMAHAWK-205:
--------------------------------------
Solutions that worked for me (b/c I have a div with overflow: auto):
Changing lines 1346 and 1347 from:
leftScrollOffset += aTag.scrollLeft;
topScrollOffset += aTag.scrollTop;
To:
leftScrollOffset += aTag.scrollLeft + "px";
topScrollOffset += aTag.scrollTop + "px";
OR adding the following CSS to my page:
<style type="text/css">
.jscalendar-DB-div-style {
position: absolute;
margin-top: -69px;
margin-left: -408px;
}
</style>
I'm using Tomahawk 1.1.5.
> inputCalendar Popup positioned incorrectly in scrollable div
> ------------------------------------------------------------
>
> Key: TOMAHAWK-205
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-205
> Project: MyFaces Tomahawk
> Issue Type: Bug
> Components: Calendar
> Affects Versions: 1.1.2-SNAPSHOT
> Reporter: Geoffrey Longo
> Assigned To: Werner Punz
>
> The popup for the inputCalendar is positioned relative to the body of the
> page, not the containing div. Therefore, a calendar that is inside a
> scrollable div (overflow: auto) may not be positioned correctly if the
> containing div's left and top positons are not the same as the body.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.