[
https://jira.jboss.org/browse/RF-9622?page=com.atlassian.jira.plugin.syst...
]
Ilya Shaikovsky commented on RF-9622:
-------------------------------------
after review it appear that delay is not root cause of problems. tooltip just shown at
incorrect place initially and repositions after mouse move. just set followmouse to false
and see that tooltip appear out of visible area.
tooltip: initia appearing position [WAS if showDelay defined -
component does not appears without additional mousemove]
-----------------------------------------------------------------------------------------------------------------------
Key: RF-9622
URL:
https://jira.jboss.org/browse/RF-9622
Project: RichFaces
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: component-output
Reporter: Ilya Shaikovsky
Assignee: Pavel Yaschenko
<rich:panel id="sample2" styleClass="tooltip-text"
bodyClass="rich-laguna-panel-no-header">
<p>This tool-tip will <b>follow mouse</b>. Also this tool-tip has
a <b>delay 1.5 sec</b>, so be patient!</p>
<rich:tooltip followMouse="true"
showDelay="1500" styleClass="tooltip">
<span style="white-space: nowrap"> This tool-tip content also
<strong>pre-rendered</strong> to the page.<br />
However, the look of this tool-tip is customized<br />
by styleClass attribute. </span>
</rich:tooltip>
<rich:tooltip showEvent="click"
mode="ajax" styleClass="tooltip" layout="block">
<f:facet name="defaultContent">
<strong>Wait...</strong>
</f:facet>
<span style="white-space: nowrap">This tool-tip content was
<strong>rendered on server</strong><br />
</span>
<h:panelGrid columns="2">
<h:outputText style="white-space:nowrap"
value="tooltips requested:" />
<h:outputText value="#{tooltipData.tooltipCounter}"
styleClass="tooltipData" />
</h:panelGrid>
</rich:tooltip>
in both cases after mouseover or click if mouse will not be moved during delay - tooltip
wil not appear.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira