myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werner Punz (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (TOMAHAWK-205) inputCalendar Popup positioned incorrectly in scrollable div
Date Thu, 22 Mar 2007 18:48:32 GMT

    [ https://issues.apache.org/jira/browse/TOMAHAWK-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483268
] 

Werner Punz commented on TOMAHAWK-205:
--------------------------------------

Just a shot note, are you sure this patch covers all cases
what happens:

without the patch: the offsets are calculated until a position absolute is reached and then
stop.

With this patch, the first component just is skipped
(which under some circumstances it can be the scrolling div)

but in following case

<div style="overflow;auto">
<b>
   <span secondContainer>
              date control in here
   </span>
<b>
</div>


what happens here is that the b is skipped and some positional ofsetting might 
go into the wrong direction,

I think the code is not entirely correct, further comments on this?





> 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.


Mime
View raw message