ICEfaces
  1. ICEfaces
  2. ICE-3736

tooltip positioning relative to screen

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.8RC1, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      ANY

      Description

      when tooltip renders at the bottom of a screen, only partial is visible. maybe we should consider render its position relative to the screen.

        Issue Links

          Activity

          Hide
          Ken Fyten added a comment -

          Same thing applies for right/left edges of the viewport as well. Might be sufficient to ensure that the panelTooltip edges are always inside the viewport.

          Show
          Ken Fyten added a comment - Same thing applies for right/left edges of the viewport as well. Might be sufficient to ensure that the panelTooltip edges are always inside the viewport.
          Hide
          Mandeep Hayher added a comment -

          Tooltip for provinces in component-showcase sample app still seems to have positioning problem. If the target tooltip doesnot fit below the province name in current window size, the window scroll bar is forced to move and tooltip disappears while this scrolling happens.

          Show
          Mandeep Hayher added a comment - Tooltip for provinces in component-showcase sample app still seems to have positioning problem. If the target tooltip doesnot fit below the province name in current window size, the window scroll bar is forced to move and tooltip disappears while this scrolling happens.
          Hide
          yip.ng added a comment -

          After reverting all my changes, the problem described by Mandeep still exists. So this is a different problem that existed before. Also, it seems that the problem occurs only in Firefox, not in IE. Need to fix this other problem first.

          Show
          yip.ng added a comment - After reverting all my changes, the problem described by Mandeep still exists. So this is a different problem that existed before. Also, it seems that the problem occurs only in Firefox, not in IE. Need to fix this other problem first.
          Hide
          yip.ng added a comment -

          Finally found what caused the other problem. It was caused by the fix for ICE-3720. Nothing to do with my changes. If we revert changes for ICE-3720, everything will work fine. See the attached screenshots.

          Show
          yip.ng added a comment - Finally found what caused the other problem. It was caused by the fix for ICE-3720 . Nothing to do with my changes. If we revert changes for ICE-3720 , everything will work fine. See the attached screenshots.

            People

            • Assignee:
              Unassigned
              Reporter:
              Sam Xiao
            • Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: