Status: Closed (View Workflow)
Affects Version/s: 4.3.0.Final, 4.3.1
Fix Version/s: 4.5.9
rich:tooltip causes script error when showDelay is used and the tooltip is updated due to a JSF request.
Console log of Firefox:
TypeError: tooltip.popup is null
tooltip.popup.show(tooltip.saveShowEvent); in tooltip.js (line 245)
The error comes in all browsers I tested with.
(Its a stripped down example. The actual content of my tool-tip holds more text.)
Note that my 'richTabMinimizer.toggle' bean toggles some GUI stuff and its property 'expanded' is switched from true to false and vice versa.
You may probably replace it with anything to reproduce the error.
Probably the tool-tip tries to show after the HTML elements have already been updated.
It's no serious error. Nevertheless, its ugly.
I guess it is not unusual to have a tool-tip (with a showDelay) on a command.
But often, users will click the command just after the mouse entered the command.
Maybe this issue report is a duplicate of
RF-8652, but in contrast to 8652, I do not refer to open tooltips.
For me, it would be sufficient if the script error is avoided.
I do not expect the updated tooltip to show after the delay.