0 Replies Latest reply on Aug 23, 2007 9:47 AM by ratoo

    DnD Indicator Position is wrong.

    ratoo

      Hello!

      I'm testing RichFaces 3.1rc3 and found that indicator position is wrong
      when the dragSupport area is inside "overflow: scroll" component.

      Actually it is insede a panelBarItem. When i have too big content it renders a scroll (that's ok), but while drag operation the indicator doesn't take it into account (I even not sure how it could be calculated...).

      Spasibo.

       <rich:panelBar width="250" height="500">
       <rich:panelBarItem label="Database id">
       <h:dataTable id="outputs" value="#{WorkflowForm.outputList}" var="out" >
       <h:column>
       <a4j:outputPanel style="background-color: #{empty WorkflowForm.possibleResultList[out.name] ? '#FF6600' : '#00FF66'}; border: 1px solid gray; padding:2px;" layout="block">
       <rich:dragSupport dragIndicator="indicator" dragType="outputz">
       <a4j:actionparam name="output_name" value="#{out.name}"/>
       </rich:dragSupport>
       <h:outputText value="#{out.name}"/>
       </a4j:outputPanel>
       </h:column>
       </h:dataTable>
       </rich:panelBarItem>