Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Tooltip window continues to display on moving to another screen



Tooltips are configured in some sections, such that they close only on clicking the Close icon. The tooltip continues to display despite navigating to a different tab.

Error Messages

Not Applicable

Steps to Reproduce

  1. Configure a Tab group.
  2. Configure a tooltip on hover of a link in the first tab.
  3. Uncheck 'Auto-dismiss on hover away'.
  4. Run the usecase.
  5. Hover on the link.
  6. Navigate to the second tab.

Root Cause

According to the configuration, the tabs are a part of the main harness (Top Document). Hence, on hovering over a link in the first tab to open a SmartInfo (which is a part of main harness), it is static across entire document. Hence, when navigating to the next tab, the SmartInfo displays.


Perform the following local-change:
  1. Create a non-auto generated section with the following script.

      var testHandler = function(evt){
                var smartInfoBody = evt.currentTarget;
                    pega.util.Event.removeListener(smartInfoBody, 'mousedown', testHandler);
                    var closeIconElem = pega.util.Dom.getElementsById("SinfoCloseIcon", smartInfoBody );
                       if (closeIconElem != null && closeIconElem[0].getAttribute("clickableSmartInfo")) {
      function test(){
      pega.util.Event.removeListener(document.body, 'mousedown', testHandler);
        pega.util.Event.addListener(document.body, 'mousedown', testHandler);  

  2. Add the non-auto generated section in the concerned section where the link is configured.
  3. After the show SmartInfo action onHover event of the link and add the Run script with function name as test.

Published April 4, 2019 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us