ICEfaces
  1. ICEfaces
  2. ICE-4722

Alignment of popupMenu inside panelGroup with overflow:scroll

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.8.1
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      IE8

      Description

      There is a outputText with assigned popupMenu.

      If these both comopnents are inside a panelGroup with overflow:scroll and a certain width the popupMenu is not aligned to the mouse pointer. Moreover it's out of view.

      This does not happen
      - with FF
      - when overflow:scroll is not set

      view:
      <ice:panelGroup style="overflow:scroll; width: 300px;">
      <ice:menuPopup id="menuPopupEffects">
      File menu
      <ice:menuItem id="effects"
      value="label1">
      <ice:menuItem id="highlight"
      value="label3">
      </ice:menuItem>
      <ice:menuItem id="highlight1"
      value="label4">
      </ice:menuItem>
      <ice:menuItem id="highlight2"
      value="label5">
      </ice:menuItem>
      <ice:menuItem id="highlight3"
      value="label6">
      </ice:menuItem>
      </ice:menuItem>
      </ice:menuPopup>



      <ice:panelGroup menuPopup="menuPopupEffects">
      <ice:outputText value="TEST"/>
      </ice:panelGroup>
      <ice:panelGroup menuPopup="menuPopupEffects">
      <ice:outputText value="TEST"/>
      </ice:panelGroup>
      <ice:panelGroup menuPopup="menuPopupEffects">
      <ice:outputText value="TEST"/>
      </ice:panelGroup>
      <ice:panelGroup menuPopup="menuPopupEffects">
      <ice:outputText value="TEST"/>
      </ice:panelGroup>

      </ice:panelGroup>

        Issue Links

          Activity

          Stefan Zeller created issue -
          Hide
          Stefan Zeller added a comment -

          Salesforce case added

          Show
          Stefan Zeller added a comment - Salesforce case added
          Stefan Zeller made changes -
          Field Original Value New Value
          Salesforce Case [50070000009MFGH]
          Hide
          Andy Hoffman added a comment -

          These two issues appear to be related and may lead to solutions for each other.

          Show
          Andy Hoffman added a comment - These two issues appear to be related and may lead to solutions for each other.
          Andy Hoffman made changes -
          Link This issue depends on ICE-4400 [ ICE-4400 ]
          Hide
          Nadine Sundquist added a comment - - edited

          Still seen in 1.8.2.

          This exact same behavior happens for ice:panelTooltip components in all versions of Internet Explorer (not Firefox). The following short snippet of code will show a simplified example of the issue. The popup is offset by the amount of space above the popup. If you add more <br/>TEXT lines, the popup will be pushed further down the page. Setting 'overflow' to visible or inherit can solve the problem. All other choices for overflow including auto, hidden, and scroll will cause the popup to offset (sometimes to the point where it cannot be seen on the page).

          <?xml version='1.0' encoding='UTF-8' ?>
          <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
          <html xmlns = "http://www.w3.org/1999/xhtml"
          xmlns:f = "http://java.sun.com/jsf/core"
          xmlns:ice = "http://www.icesoft.com/icefaces/component"
          >

          <br/>TEXT
          <br/>TEXT
          <br/>TEXT

          <ice:panelGroup id="id" style="min-height: 200px; height: 400px; overflow: scroll">

          <ice:panelGroup>

          <ice:panelGroup
          panelTooltip = "nodeTooltip" style="background-color: grey">
          <ice:outputText value="foo"/>
          </ice:panelGroup>

          <ice:panelTooltip
          id = "nodeTooltip"
          hoverDelay = "500"
          moveWithMouse = "true"
          displayOn = "hover"
          hideOn = "mouseout"
          rendered = "true"
          >
          <f:facet name="header">
          </f:facet>
          <f:facet name="body">
          <ice:panelGroup>
          <ice:outputText
          escape = "false"
          value = "foo"
          />
          </ice:panelGroup>
          </f:facet>
          </ice:panelTooltip>

          </ice:panelGroup>

          </ice:panelGroup>

          </html>

          Show
          Nadine Sundquist added a comment - - edited Still seen in 1.8.2. This exact same behavior happens for ice:panelTooltip components in all versions of Internet Explorer (not Firefox). The following short snippet of code will show a simplified example of the issue. The popup is offset by the amount of space above the popup. If you add more <br/>TEXT lines, the popup will be pushed further down the page. Setting 'overflow' to visible or inherit can solve the problem. All other choices for overflow including auto, hidden, and scroll will cause the popup to offset (sometimes to the point where it cannot be seen on the page). <?xml version='1.0' encoding='UTF-8' ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns = "http://www.w3.org/1999/xhtml" xmlns:f = "http://java.sun.com/jsf/core" xmlns:ice = "http://www.icesoft.com/icefaces/component" > <br/>TEXT <br/>TEXT <br/>TEXT <ice:panelGroup id="id" style="min-height: 200px; height: 400px; overflow: scroll"> <ice:panelGroup> <ice:panelGroup panelTooltip = "nodeTooltip" style="background-color: grey"> <ice:outputText value="foo"/> </ice:panelGroup> <ice:panelTooltip id = "nodeTooltip" hoverDelay = "500" moveWithMouse = "true" displayOn = "hover" hideOn = "mouseout" rendered = "true" > <f:facet name="header"> </f:facet> <f:facet name="body"> <ice:panelGroup> <ice:outputText escape = "false" value = "foo" /> </ice:panelGroup> </f:facet> </ice:panelTooltip> </ice:panelGroup> </ice:panelGroup> </html>
          Hide
          Ken Fyten added a comment -

          Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup.

          Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf

          If the issue persists with the current ICEfaces release, please create a new JIRA for it.

          Show
          Ken Fyten added a comment - Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup. Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf If the issue persists with the current ICEfaces release, please create a new JIRA for it.
          Ken Fyten made changes -
          Status Open [ 1 ] Closed [ 6 ]

            People

            • Assignee:
              Unassigned
              Reporter:
              Stefan Zeller
            • Votes:
              4 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: