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

        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
        Hide
        Grant Smith added a comment -

        Thanks Eric.

        Show
        Grant Smith added a comment - Thanks Eric.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development