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

    DnD Indicator Position is wrong.

    Jim Dummy Newbie


      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...).


       <rich:panelBar width="250" height="500">
       <rich:panelBarItem label="Database id">
       <h:dataTable id="outputs" value="#{WorkflowForm.outputList}" var="out" >
       <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}"/>
       <h:outputText value="#{out.name}"/>