This content has been marked as final.
Show 6 replies
-
1. Re: rich:contextMenu inside scrollable div problem
supernovasoftware.com Nov 10, 2008 11:23 PM (in response to supernovasoftware.com)I forgot the versions.
Richfaces 3.2.2SP1
Firefox 3.0.3 -
2. Re: rich:contextMenu inside scrollable div problem
ilya_shaikovsky Nov 11, 2008 4:56 AM (in response to supernovasoftware.com)please add your comments there
https://jira.jboss.org/jira/browse/RF-4354 -
3. Re: rich:contextMenu inside scrollable div problem
ilya_shaikovsky Nov 11, 2008 5:02 AM (in response to supernovasoftware.com)B.t.w. I'm not sure in one detail.. Did you mean initial position wrong or the position after scrolling the container?
<h:panelGroup id="picture" layout="block" style="width:200px;height:200px;overflow:auto"> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <br/> <h:graphicImage value="/richfaces/jQuery/images/pic1.jpg" id="pic" style="border : 5px solid #E4EAEF"/> <rich:contextMenu event="oncontextmenu" attachTo="pic" submitMode="none"> <rich:menuItem value="Zoom In" onclick="enlarge('pic');" id="zin"></rich:menuItem> <rich:menuItem value="Zoom Out" onclick="decrease('pic');" id="zout"></rich:menuItem> </rich:contextMenu> </h:panelGroup>
There the menu appears ok for me without difference if the container was scrooled before calling the menu or not. -
4. Re: rich:contextMenu inside scrollable div problem
supernovasoftware.com Nov 11, 2008 10:10 AM (in response to supernovasoftware.com)Before scroll it appears in the proper position. After scroll it is near the top of the scrolling container.
I was about to roll this out into production when I noticed this problem. -
5. Re: rich:contextMenu inside scrollable div problem
supernovasoftware.com Nov 11, 2008 11:23 AM (in response to supernovasoftware.com)Is there any way to work around this currently?
If not, I will have to remove it. -
6. Re: rich:contextMenu inside scrollable div problem
supernovasoftware.com Nov 11, 2008 1:30 PM (in response to supernovasoftware.com)Actually it appears above where is should be proportionally to how much the container was scrolled.