MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-726

popup calendar position wrong when in relative container

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.7
    • Component/s: Calendar
    • Labels:
      None

      Description

      When the calendar control is in a relatively postioned parent container the calendar is placed in the wrong position.

        Activity

        Eric Bartley created issue -
        Hide
        Eric Bartley added a comment -

        This patch fixes a couple of things.

        1) Check the calculated styles to account for linked style sheets instead of just inline styles. (function getStyle)
        2) Account for absolute and relatively positioned parent elements.
        3) Iterate until offset Parent is null.
        4) The parent element could be BODY or HTML tag

        Show
        Eric Bartley added a comment - This patch fixes a couple of things. 1) Check the calculated styles to account for linked style sheets instead of just inline styles. (function getStyle) 2) Account for absolute and relatively positioned parent elements. 3) Iterate until offset Parent is null. 4) The parent element could be BODY or HTML tag
        Eric Bartley made changes -
        Field Original Value New Value
        Attachment popcalendar.patch [ 12342278 ]
        Eric Bartley made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Grant Smith made changes -
        Assignee Grant Smith [ grantsmith ]
        Hide
        Grant Smith added a comment -

        Thanks Eric.

        Show
        Grant Smith added a comment - Thanks Eric.
        Grant Smith made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 1.1.7-SNAPSHOT [ 12312361 ]
        Resolution Fixed [ 1 ]
        Leonardo Uribe made changes -
        Fix Version/s 1.1.7-SNAPSHOT [ 12312361 ]
        Fix Version/s 1.1.7 [ 12313398 ]
        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        7m 47s 1 Eric Bartley 04/Oct/06 18:42
        Patch Available Patch Available Resolved Resolved
        314d 3h 20m 1 Grant Smith 14/Aug/07 22:03
        Resolved Resolved Closed Closed
        385d 7h 43m 1 Leonardo Uribe 03/Sep/08 05:46

          People

          • Assignee:
            Grant Smith
            Reporter:
            Eric Bartley
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development