You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Henning Nöth (Jira)" <de...@myfaces.apache.org> on 2022/07/11 08:00:00 UTC

[jira] [Created] (TOBAGO-2144) Popup loaded by ajax has wrong position

Henning Nöth created TOBAGO-2144:
------------------------------------

             Summary: Popup loaded by ajax has wrong position
                 Key: TOBAGO-2144
                 URL: https://issues.apache.org/jira/browse/TOBAGO-2144
             Project: MyFaces Tobago
          Issue Type: Bug
          Components: Core
    Affects Versions: 5.1.0
            Reporter: Henning Nöth


If a popup is loaded by ajax, the CSS class "position-relative" is set on the "tobago-popup"-Tag which leads to a wrong position.


{code:xml}
<tc:button id="ajaxButton" label="Open Popup" immediate="true">
    <tc:operation name="show" for="ajaxPopup"/>
    <f:ajax render="ajaxPopup" execute="ajaxPopup"/>
  </tc:button>

  <tc:popup id="ajaxPopup" collapsedMode="absent">
    <tc:box label="Popup">
      Simple Popup loaded by AJAX.
      <tc:button label="Close" omit="true">
        <tc:operation name="hide" for="ajaxPopup"/>
      </tc:button>
    </tc:box>
  </tc:popup>
{code}




--
This message was sent by Atlassian Jira
(v8.20.10#820010)