[richfaces-issues] [JBoss JIRA] Updated: (RF-6730) rich:contextMenu shows in wrong position when used inside scroll div

Alex Peelman (JIRA) jira-events at lists.jboss.org
Wed Apr 8 04:04:22 EDT 2009


     [ https://jira.jboss.org/jira/browse/RF-6730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex Peelman updated RF-6730:
-----------------------------

    Attachment: after-scroll.png


As you can see in this after-scroll attachment the actions of the same blue highlighted entry is clicked but the pop up is shown much lower than expected. 

I must say that I have hidden my window scrollbar via css (overflow hidden) :

html,body {
	font-size: 12px;
	margin: 0;
	padding: 0;
	font-family: arial, helvetica, verdana;
	overflow: hidden;
	color: black;
}


> rich:contextMenu shows in wrong position when used inside scroll div
> --------------------------------------------------------------------
>
>                 Key: RF-6730
>                 URL: https://jira.jboss.org/jira/browse/RF-6730
>             Project: RichFaces
>          Issue Type: Bug
>    Affects Versions: 3.3.0
>         Environment: FF3, Ubuntu 8.04, JSF 1.2, JBOSS Seam 2., JBOSS 4.2.3
>            Reporter: Alex Peelman
>         Attachments: after-scroll.png, before-scroll.png
>
>
> I have a lot of context menu's placed inside a scrollable div. When the scrollbar is at the top the pop up shows correctly but when I scroll down the pop up moves more towards the bottom. 
> The context menu is created as followed
> <rich:contextMenu  attached="false"
> 				   disableDefaultMenu="false"
> 				   styleClass="left"					   			   
> 				   id="contextMenu"					   					   
> 				   style="z-index:1500"					   
> 				   >		...
> And is summoned by a rich:componentControl onclick event
> <h:panelGrid columns="2">
> 	<h:outputText value="Actions" styleClass="actions" />
> 	<h:graphicImage value="#{root}/img/arrow_down.png" />	
> 	<rich:componentControl event="onclick" for="contextMenu" operation="show"></rich:componentControl>				
> </h:panelGrid>
> I will attach pictures which shows the problem

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the richfaces-issues mailing list